I Cant find anywhere.. please help me
Its NOT like adding incrementing nums (ex. 1+2+3+...)
or (243 = 2+4+3) NOT This
Its like
EX.
pls enter a num : 4
pls enter a num : 7
pls enter a num : 2
pls enter a num : 6
the sum is 19.
------------------------------------------------------------
I just randomly type in the numbers and
the program just add up all the numbers you entered.
while (x <= 4)
{
}
Like that... PLEASE HELP ME IM DYING.......
and I can't use for loop.. I need to use while loop
Last edited on
So.. you have a total which is initialized to some reasonable value, and you have a number entered by the user.
Every time the user enters a number, add it to the total.
When you're done, display the total.
omg I'm kind of getting it.. but.. like how do you label those..?