You are required to write a program that takes input from the user the marks of his programming fundamentals quizzes in an array. You are required to write the program that caters for 10 students. That means the program asks the user to enter 10 quizzes marks for 10 students (use 2 dimensional array). The program calculates the percentage of all 10 quizzes for each student.Based on the percentage, the program should calculate the grade of each student and store it in a char-one dimensional array. The program should also display the grade of the student on the screen. The grade is calculated by the formula percentage>=80 --- grade = A for percentage >=70 and less than 80 ---------- grade = B for percentage >=60 and less than 70--------- grade = C for percentage >=50 and less than 60 ----------grade = D for percentage less than 50 ----------grade= F In the end when all the grades have been calculated the program should calculate and displays the class average. The class average is calculated by adding all the quizzes of the class divided by total number of quizzes.
[hey expert!
kindly answer is simple c++ ]
:)
You are required to write a program that takes input from the user the marks of his
The grade is calculated by the formula
percentage>=80 --- grade = A
for percentage >=70 and less than 80 ---------- grade = B
for percentage >=60 and less than 70--------- grade = C
for percentage >=50 and less than 60 ----------grade = D
for percentage less than 50 ----------grade= F
In the end when all the grades have been calculated the program should calculate and displays the class average. The class average is calculated by adding all the quizzes of the class divided by total number of quizzes.
Step by step
Solved in 4 steps with 1 images