Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning ASP.NET 2.0 And Databases

Authors: John Kauffman, Bradley Millington

1st Edition

0471781347, 978-0471781349

More Books

Students also viewed these Databases questions