Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

in codeblock for c++ program student Grade Statics Use functions to determine the number of letter grades from list of students' number grades. The requirements

in codeblock for c++ program image text in transcribed
image text in transcribed
student Grade Statics Use functions to determine the number of letter grades from list of students' number grades. The requirements are 1) Initialize the variables countGradeD, countGradeF to 0 a given , countGradeA, countGradeB, countGradec, 2) Validate the input data for the number of students in the class. Display error message if necessary 3) Read a number grade. If the number grade is in between 100-90, for example, then increment the countGradeA count and so on and so forth for all other grades. Letter grades are determined by the following - 90 100 A 80-89 70-79 60-69 0-59 4) Repeat Steps 2 and 3 for each number in the 1ist. 5) Print out the results which shows the counts for each grade. The following functions should be defined/implemented and called in main) - int getNumberofStudents) //make sure to validate number of students void Initialize(int&countGradeA, ints countGradeB, int& countGradec, int& countGradeD, int& countGradeF) void getNumberGrade (int& grade): //make sure to valid the grade void classifyGrades (int grade, int& countGradeA, int& countGradeB int& countGradec, int& countGradeD, int& countGradeF); void printResults (int countGradeA, int countGradeB, int countGradeC, int countGrade D, int countGradeF)

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

Students also viewed these Databases questions

Question

c. What were you expected to do when you grew up?

Answered: 1 week ago

Question

4. Describe how cultural values influence communication.

Answered: 1 week ago

Question

3. Identify and describe nine cultural value orientations.

Answered: 1 week ago