0
Write a function called letterGrade( ) that returns the letter grade
For example, letterGrade(91) returns A, while letterGrade(71) returns C, and so on. Hint: Use nested if … else … to determine the letter grade.
7 ответов
+ 2
I have corrected your code. Hope it helps.
https://code.sololearn.com/cpDobow8B0uU/?ref=app
+ 3
Do you have a question or do you want that someone programms that for you.
Please provide more infos.
+ 1
Thank you!! what If you want to get the char, because im using visual studio and think you suppose to use #inlcude <string.h> correct? Also if im trying to pull just the character it self, I would return 'A' or 'A-'?
+ 1
may I send you what I have?
0
I need to know how to start it off
Percentile
Grade
Percentile
Grade
90% or above
A
87% - 89%
A-
84% - 86%
B+
80% - 83%
B
77% - 79%
B-
74% - 76%
C+
70% - 73%
C
67% - 69%
C-
64% - 66%
D+
60% - 63%
D
57% - 59%
D-
Less than 57%
F
The main( ) function should first ask the user for a numeric value between 0 and 100, and then calls the letterGrade( ) function to get the letter grade. Once the letter grade is returned, it will be printed on the screen.
0
I have code if you would like to see, but I did it wrong
0
i dont fully understand what you actually want to achive.