Programming Tutorials

Comment on Tutorial - for loop in java By Abinaya



Comment Added by : Lee

Comment Added at : 2015-10-01 09:08:26

Comment on Tutorial : for loop in java By Abinaya
hi sir can you help me with this problem

3. Formulate program SumNumbers that computes the sum of numbers depending on the entries. User terminates input after inputting 0. (30 points)
Sample Input/Output:
Enter number[0 to terminate]: 25.4
Enter number[0 to terminate]: 26.0
Enter number[0 to terminate]: 25.5
Enter number[0 to terminate]: 0
Sum is 76.9


View Tutorial