Question: Write a program that asks a user to enter the size of a dynamic array that stores exam marks obtained by students. Create the
Write a program that asks a user to enter the size of a dynamic array that stores exam marks obtained by students. Create the dynamic array and a loop that allows the user to enter an exam mark into each array element. Loop through the array, find the average mark for the exam and output it. Delete the memory allocated to your dynamic array before exiting your program.
Step by Step Solution
3.39 Rating (168 Votes )
There are 3 Steps involved in it
Heres an example program in C that does what you described cpp include iostream int main int ... View full answer
Get step-by-step solutions from verified subject matter experts
