5. Student Grade Calculation Write a complete C++ program to do the following 1. Enter mid and final marks of 5 students in one subject and store them in two- dimensional array (i.e. \texttt{marks[5][2]}) 2. Calculate the total marks for each student and store results in 1-dimensional array (i.e. \texttt{total[5]}) 3. Calculate the grade of each student and store in 1-D array (i.e. \texttt{grade[5]}) 4. Print the results as shown in the following table Student # Mid Final Total Grade 1 40 30 70 C 2 50 40 90 A 3 55 40 95 A+ 4 30 25 55 F 5 45 35 80 B
Added by Wayne R.
Close
Step 1
```cpp #include <iostream> using namespace std; int main() { // Proceed to Step 2 } ``` Show more…
Show all steps
Your feedback will help us improve your experience
Akash M and 93 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Write the pseudocode for the following scenario. The final exam marks for 10 students are 65, 45, 78, 65, 89, 65, 79, 67, 75, and 63. The marks are stored in an array. Find: • The student with the highest mark. • The student with the lowest mark. • The total marks for all the students. • The overall average
David N.
'Calculate and report the average grade = for class Output: Average grades Input: Student grades Process: Find the sum of the grades_ count the number of students calculate the average grade sum of grades number of students Draw the flowchart of this program and write the computer code-'
Shelayah R.
Create a program that will compute the average and the percentage of an assignment performance per student. Use the following record.
Patha S.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Watch the video solution with this free unlock.
EMAIL
PASSWORD