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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!