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.

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter7: Arrays
Section7.2: Array Initialization
Problem 4E: (Electrical eng.) Write a program that stores the following resistance values in an array named...
icon
Related questions
Question

 

[hey expert! 

        kindly answer is simple c++ ]  

:)

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.

 

 

 

 

Expert Solution
steps

Step by step

Solved in 4 steps with 1 images

Blurred answer
Knowledge Booster
Array
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning