This program will require the programmer to store exam scores for a batch of students. The batch will consist of 1 to 10

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

This program will require the programmer to store exam scores for a batch of students. The batch will consist of 1 to 10

Post by answerhappygod »

This Program Will Require The Programmer To Store Exam Scores For A Batch Of Students The Batch Will Consist Of 1 To 10 1
This Program Will Require The Programmer To Store Exam Scores For A Batch Of Students The Batch Will Consist Of 1 To 10 1 (82.37 KiB) Viewed 66 times
This program will require the programmer to store exam scores for a batch of students. The batch will consist of 1 to 1000 students. The program will store four exam scores for each student. Index 0 1 2 999 Exam 1 78 99 78 78 Exam 2 98 87 96 89 Exam 3 89 78 3 ⠀ 78 ******* MAIN MENU ********* 1. Add grades for next student. 2. Display all grades. 3. Show average by Exam. 4. Show average by Student. 5. Quit the program. Enter selection: Exam 4 76 96 45 *** 25
Please see sample data below! You can assume the VID for a student is the value of an index Index 0 1 2 ⠀ 999 Exam 1 78 99 78 78 Exam 2 98 87 96 * 89 Exam 3 89 78 3 ⠀ 78 You can assume that column 0 stores the student's exam one score Exam 4 76 96 45 ⠀ 25
If the user selects option 1: The program will prompt the user to enter the next student's four exam scores. NOTE: Each row in the Array will represent one student's score. ****** MAIN MENU *** ***** 1. Add grades for next student. 2. Display all grades. 3. Show average by Exam. 4. Show average by Student. 5. Quit the program. Enter selection:
If the user selects option 2: The program will display a GRID that shows the VID (the row index) along with all the exam scores for each student entered. Index 0 1 2 999 Exam 1 78 99 78 78 Exam 2 98 87 96 89 Exam 3 89 78 3 78 ******* MAIN MENU ********* 1. Add grades for next student. 2. Display all grades. 3. Show average by Exam. 4. Show average by Student. 5. Quit the program. Enter selection: Exam 4 76 96 45 25
If the user selects option 3: A GRID will be displayed as shown. Exam 1 78 Exam 2 98 Exam 3 89 Exam 4 76 ******* MAIN MENU ********* 1. Add grades for next student. 2. Display all grades. 3. Show average by Exam. 4. Show average by Student. 5. Quit the program. Enter selection: SA
If the user selects option 4: A GRID will be displayed as shown. VID 0 1 2 3 4 01 5 6 Average 98.9% 48.9% 88.8% 69.69% 79.79% 89.89% 77.96% ******* MAIN MENU ********* 1. Add grades for next student. 2. Display all grades. 3. Show average by Exam. 4. Show average by Student. 5. Quit the program. Enter selection:
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply