Question: Write a program for the following problem. Take two arrays from the user with the size 30. One is student IDs (type int) and the

 Write a program for the following problem. Take two arrays from

Write a program for the following problem. Take two arrays from the user with the size 30. One is student IDs (type int) and the other one scores (type int) for an exam in your computer course. You're to compute the average of these scores and assign grades to each student according to the following rule: If a student's score is within 15 points (above or below) of the average, assign a grade of satisfactory If a student's score is more than 15 points above average, assign a grade of outstanding. If a student's score is more than 15 points below average, assign a grade of unsatisfactory. . Output: You must print the average. Also, you should print a table sist of a labeled three-column list that shows each ID, score, and corresponding grade. . You must use the C++11 style to define the arrays. Please note that you do not need to include header files in your program

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!