Answer to Question #147618 in C++ for Usama Saleem

Question #147618
Write a program which takes from the user as input the the minimum marks needed for an 'A' grade, minimum marks needed for a 'B' grade, and minimum marks needed for a C grade. Any score less than that would earn an 'F' grade. Assume there are only two students in the class. Assume the students' names are Peter and Jane. The program should then ask the user to input the marks of the two students.

The program should
i) display names of both the marks as well as their marks and corresponding grades - in case a student gets an 'F' grade, mention how many more marks were needed to at least get a 'C' grade
ii) for each score mention if it is even or odd
iii) display the minimum of the two scores and the maximum of the two scores
iv) display the average score
1
Expert's answer
2020-11-29T23:48:26-0500
Dear Usama Saleem, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog