Answered step by step
Verified Expert Solution
Question
1 Approved Answer
gnments Assignment 5- Due Dec 5 Attached Files: a CPIRubric.pdf (207.953 KB) Along with the analysis and design, wnte a cpp Your main program should
gnments Assignment 5- Due Dec 5 Attached Files: a CPIRubric.pdf (207.953 KB) Along with the analysis and design, wnte a cpp Your main program should finally display the grade (EgB+ B.B- program which displays the grade of a student when the score is entered it makes use of a function letterGrade with a type int input parameter called score The function should retum through an output parameter (grade) the appropiate letter grade using a straight scale 90 to 100 is Grade A 80 to B9 is Grade B 70 to 79 is Grade C 60 to 69 is Grade D 0 to 59 is Grade F The function should also retum through a second output parameter(plusMinus) a plus or a minus symbol depending on these cases 9 h 1) Retum a plus symbol if a student just missed the next higher grade by one to ports lor example: if a student got an 88 second output symbol should be+) 2lf the student just made the grade (tor example got a grade of 80 or 81) retum a " for this second output parameter 3 If the studerneither just missed nor just rnade the grade this second output parameter should be blank Hint For the symbol part you need to d splay plus mirus depending on the last digt of the score secondDgt-score % 10 tb
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started