Question: C++ Write a program that asks user to insert marks and calculate sum and average of the marks entered. Numbers of marks entered will depend
C++
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 () { int i,n; float sum, avg; float * p; .. .. 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
