Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database Systems

Authors: Ramez Elmasri, Shamkant B. Navathe

7th Edition Global Edition

1292097612, 978-1292097619

More Books

Students also viewed these Databases questions

Question

What is Change Control and how does it operate?

Answered: 1 week ago

Question

How do Data Requirements relate to Functional Requirements?

Answered: 1 week ago