Answer to Question #50344 in C++ for John

Question #50344
Write a program that can enter marks for number of students and calculate their Total and class
average with the following format
The inputs:
ID (As 1 dimension array of Integers), First (As1 dimension array of Doubles), Second (As 1 dimension
array of Doubles), Final (As 1 dimension array of Doubles), Total (As 1 dimension array of Doubles), Grad
(As 1 dimension array of Chars)
The Grades are: A for 90’s, B for 80’s, C for 70’s, D for 60’s and F for less than 60.
Use the following functions to find
1. void inputID(int[]);
2. void inputMarks(double[]);
3. double ClassAverage(double []);
4. void Grade(double[],char []);
5. void Total(double[],double [],double [],double[]);
6. void print(int[] , double[], double[] , double[],double[], char[]);

The output:
St_Nm ID First Second Final Total Grade
1 20071156 15.5 16.5 30.1 62.1 D
2 20071154 15.0 16.5 30.1 62.6 D
Class average for 10 students is: 72.5
1
Expert's answer
2015-01-13T11:33:13-0500
The answer to the question is available in the PDF file https://www.assignmentexpert.com/https://www.assignmentexpert.com/homework-answers/programming-answer-50344.pdf

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS