Question: complete the C++ program Submission Question Write a program that asks user to insert marks and calculate sum and average of the marks entered Numbers

complete the C++ program
Submission Question Write a program that asks user to insert marks and calculate sum and average of the marks entered Numbers of marks entered will depend on the user. Use dynamic array new to dynamically assigns space to store elements entered by user, Hint: Complete the program below. int main() Sample output: { How many marks would you like to enter: 4 int i,n; Enter marks 1 : 60 float sum, avg; Enter marks 2 : 50 float *p; Enter marks 3 : 70 Enter marks 4 : 90 You have entered : 60, 50, 70, 90 Sum of marks is : 270 Average marks is : 67 p = new float [i]; for (n=0; n
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
