Question: Write the definition of a method printGrade, which has a char parameter and returns nothing. The method prints on a line by itself the message
Write the definition of a method printGrade, which has a char parameter and returns nothing. The method prints on a line by itself the message string Grade: followed by the char parameter (printed as a character) to standard output. Don't forget to put a new line character at the end of your line. Before you submit the above program, make certain that it is correct and that it runs. Please use the comments lines within the program-examples
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
