write a program that will calculate the students’ grades based on the best grade.(array)?

Dr Mirna always gives True/False tests to her class. Her tests have always 10 questions. The maximum class size is 5. She needs a program that will calculate the students’ grades based on the best grade.

Grade

A will range from the best score, to the best score minus 2.

B will range from the best score minus 3, to the best score minus 5.

C will range from the best score minus 6, to the best score minus 8.

F will be anything below the best score minus 8.

Each student’s ID and test answers will be entered. The output will be each student’s ID, number of correct answers, and grade, along the single highest score for the class.

Develop a C++ program for the above problem.

· Use four one-dimensional arrays – one for the correct scores and the other three for the needed output.

· Test if a student’ ID number has been entered previously before storing it in the array: each ID number cannot appear more than one time in the array.

· Check if the answer given for each question is a value equal to 0 or 1. If it is not the case, the user must re-enter the value again.

· Use functions in writing your code.

*can some one please help me to solve this equation?

contact me : [email protected]

Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Helpful Social

Copyright © 2024 1QUIZZ.COM - All rights reserved.