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.
Chapter10: Pointers
Section10.3: Pointer Arithmetic
Problem 3E
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
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage