Question: Use simple C++ programming to write a program that: reads a number N uses one array of Strings of length N to store student names,
Use simple C++ programming to write a program that:
reads a number N
uses one array of Strings of length N to store student names, an array of doubles of length N to store the marks in the midterm@ (marks range from 0-100 and weighted 35% of total), and an array of doubles to store the marks in final examination (marks range from 0-100 and weighted 65% of total)
reads a list of student names, midterm@ and final examination marks, stores them in the corresponding arrays
calculates the total marks for each student
keeps track of sum of marks for the midterm@ and final examination
prints all student names, midterm@, final examination, and total marks, as well as the grade in a table
At the end, prints average for midterm@, final examination, and total marks, as well as average grade
(Do not worry about having exactly two decimal points and other fancy number formatting)
Please add some explaination for steps!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
