Write a C++ program to store up to 5 test grades for each of up to 5 courses. Yo
ID: 3625911 • Letter: W
Question
Write a C++ program to store up to 5 test grades for each of up to 5 courses. You should use a two-dimensional array to achieve this task. Each row should represent the test grades for a given class. Use an extra column to store your test grade average (as a decimal) for a given class. The user should be asked the number of courses they wish to enter and the number of grades per course.
**This problem should include at least one function.**
**This program should place the averages into the last column of the array**
**This program should only be able to hold up to 5 courses and 5 grades for each**
Explanation / Answer
please rate......thanks #include #include #include int course,grade; void display(int** a); void main() { clrscr(); int **data=NULL; // int grade,course; coutcourse; coutgrade; data=(int**)malloc(course * sizeof(int *)); for(int a=0;aRelated Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.