Question: CS151 Im-Class Programming Assignment 20 Points Write a C++ program that finds and prints the sum of 5 inputted numbers. Name this program Sum While5.cpp.
CS151 Im-Class Programming Assignment 20 Points Write a C++ program that finds and prints the sum of 5 inputted numbers. Name this program Sum While5.cpp. Hint: - Use a while loop to iterate 5 times. Ask user to input a number & get the number into num Compute the value for sum. - Print the sum i= 0, num=0, sum = 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
