Zebra0.com

java loopsRead number and add to total 3 times

Read number and add to total 3 times

Consider the program below. This program reads in a number and adds to the total 3 times. There is just one variable for the input: