Details of this Paper

This assignment is called Text Problems

Description

solution


Question

This assignment is called Text Problems;Write a program that reads numbers from cin and then sums them, stopping when 0 has been;entered. Construct three versions of this program, using the while, do - while, and for loops.;? Add the following to your program;o Add a counter within the while loop that keeps up with the number of inputs that are entered.;o Add a comment that determines if the total value is less than 100 or greater than 100. See the sample output.;o Use switch statements to determine the total number of inputs.

 

Paper#69205 | Written in 18-Jul-2015

Price : $32
SiteLock