Ok if you have yahoo message me, otherwise:
Oh think I found the error.
before your while statement, initialize the number by :
int number = 0, sum = 0, numamount = 0; // You can change the...
Type: Posts; User: Tjstretch
Ok if you have yahoo message me, otherwise:
Oh think I found the error.
before your while statement, initialize the number by :
int number = 0, sum = 0, numamount = 0; // You can change the...
Oh duh, I fail fix it to look like
while(number>-1)
Oh I've seen that error. Do this instead for the while loop
while(input>-1)
Ok heres a hint.
For your while loop, your going to want it to look something around
int number, sum, numamount; // You can change the variable names.
while(input>=0)
{ // Begin while...