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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started