The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | May 2017 |
| Last Sign in: | 408 Weeks Ago |
| Questions Answered: | 66690 |
| Tutorials Posted: | 66688 |
MCS,PHD
Argosy University/ Phoniex University/
Nov-2005 - Oct-2011
Professor
Phoniex University
Oct-2001 - Nov-2016
Write a driver program to test the function that you wrote for Review Question 2.
Question 2:
Write a function called letterGrade with a type int input parameter called score. The function should return through an output parameter (grade) the appropriate letter grade using a straight scale (90 to 100 is an A; 80 to 89 is a B; 70 to 79 is a C; 60 to 69 is a D; and 0 to 59 is an F). Return through a second output parameter a plus symbol if the student just missed the next higher grade by one or two points (for example, if a student got an 88 or 89, the second output parameter should be ‘+’). If the student just made the grade (for example, got a grade of 80 or 81), return a ‘–‘ for the second output parameter. The second output parameter should be blank if the student did not just miss or just make the grade.
Â
Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------acq-----------uis-----------iti-----------on -----------of -----------my -----------pos-----------ted----------- so-----------lut-----------ion-----------.Pl-----------eas-----------e p-----------ing----------- me----------- on-----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be-----------