Question: Write the definition of a function printGrade, which has a char parameter and returns nothing. The function prints on a line by itself the message
Write the definition of a function printGrade, which has a char parameter and returns nothing. The function 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 lint character at the end of your line. Thus, if the value of the parameter is 'A' the function prints out Grade: A
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
