Write a program that takes the scores of four students on three quizzes. Then output the total and average score of each student. Store the scores in a two- dimensional array. Consider the following sample Input/Output flow: Sample Input: Input the scores of student 1: 90 95 85 Input the scores of student 2: 79 60 63 Input the scores of student 3: 10 50 80 Input the scores of student 4: 75 66 70 Sample Output: Quiz Quiz Quiz Total Averag 1 2 3 Student 90 95 85 270 90.00 1: Student 79 60 63 202 67.33 2: Student 10 50 80 140 46.67 3: Student 75 66 70 211 70.33 4:

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter8: Arrays And Strings
Section: Chapter Questions
Problem 11PE
icon
Related questions
Question

please do this in C++ code. our topic is in 2d array

Write a program that takes the scores of
four students on three quizzes. Then
output the total and average score of
each student. Store the scores in a two-
dimensional array. Consider the following
sample Input/Output flow:
Sample Input:
Input the scores of student 1: 90 95
85
Input the scores of student 2: 79 60
63
Input the scores of student 3: 10 50
80
Input the scores of student 4: 75 66
70
Sample Output:
Quiz Quiz Quiz Total
Averag
1
2
Student 90
95
85
270
90.00
1:
Student 79
60
63
202
67.33
2:
Student 10
50
80
140
46.67
3:
Student 75
66
70
211
70.33
4:
Transcribed Image Text:Write a program that takes the scores of four students on three quizzes. Then output the total and average score of each student. Store the scores in a two- dimensional array. Consider the following sample Input/Output flow: Sample Input: Input the scores of student 1: 90 95 85 Input the scores of student 2: 79 60 63 Input the scores of student 3: 10 50 80 Input the scores of student 4: 75 66 70 Sample Output: Quiz Quiz Quiz Total Averag 1 2 Student 90 95 85 270 90.00 1: Student 79 60 63 202 67.33 2: Student 10 50 80 140 46.67 3: Student 75 66 70 211 70.33 4:
Expert Solution
steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Arrays
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++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage