Question: The seven dwarfs appeared five of your c omputer coding quizzes and their marks (-1 means unattended) , each out of 100 are given in

The seven dwarfs appeared five of your computer coding quizzes and their marks (-1 means unattended), each out of 100are given in the following .txt file (Marks 25)

Doc8767959189

Grumpy5669-13791

Happy98100979188

Sleepy8994-17187

Dopey67-15644-1

Bashful 89-19810087

Sneezy-189100-181

The grades are awarded based on the following

Marks 0-59: Grade F

Marks 60-69: Grade D

Marks 70-79: Grade C

Marks 80-89: Grade B

Marks 90-100: Grade A

Write an algorithm and C++ code to output in a .txt file thename of each of seven dwarfs and the grade each got based on average total marks

For eg. (X is grade)

Doc got Grade X

Grumpy got Grade X

Happy got Grade X

Sleepy got Grade X

Dopey got Grade X

Bashful got Grade X

Sneezy got Grade X

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!