Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Access Patterns Database Interactions In Object Oriented Applications

Authors: Clifton Nock

1st Edition

0321555627, 978-0321555625

More Books

Students also viewed these Databases questions

Question

3. Define cultural adaptation.

Answered: 1 week ago

Question

Why is the System Build Process an iterative process?

Answered: 1 week ago