Question: Please write this program and explain what each line of code is doing in the program. this needs to be in basic C programming Write
Please write this program and explain what each line of code is doing in the program. this needs to be in basic C programming
Write a program that prompts the user for an integer number from the keyboard, and store it in a variable num. After each number is typed in, add num to a total.
Do this six times, each time adding num to a total. (Be sure to reuse the same variable named num for each of the six numbers entered.) When all six numbers have been entered from the keyboard, calculate anaverage.
Display the total and average calculated
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
