Question: Write a C++ user defined function which accepts average mark as a parameter and return a grade based on the following ranges of average marks.

Write a C++ user defined function which accepts average mark as a parameter and return a grade based on the following ranges of average marks.

A:(70-100), B:(60-69), C:(50-59), D:(40-49) and E:(0-39)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!