Write a C++ program that prompts the user to enter the marks of a test. This program should have a user-defined function named grade(), that takes in the marks and returns the grade obtained to the main() function to be displayed. The grading scale is as shown below:
Marks
Grade
80 to 100
A
60 to 79
B
40 to 59
C
0 to 39
F
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment