Write a character-valued function named convertToGrade that has a single type int parameter named mark. The function should return the letter that corresponds to the given mark according to the...


Please answer the following question in detail!


Write a character-valued function named convertToGrade that has a single type int parameter<br>named mark. The function should return the letter that corresponds to the given mark according<br>to the following table:<br>Mark<br>Letter<br>0- 49<br>F<br>50 – 59<br>60 – 69<br>70 – 79<br>B<br>80 – 100<br>A<br>Others X<br>I<br>A UM<br>

Extracted text: Write a character-valued function named convertToGrade that has a single type int parameter named mark. The function should return the letter that corresponds to the given mark according to the following table: Mark Letter 0- 49 F 50 – 59 60 – 69 70 – 79 B 80 – 100 A Others X I A UM

Jun 04, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here