o yeah thanks that was some big of a help.... :)
Type: Posts; User: Macgrubber
o yeah thanks that was some big of a help.... :)
it works if i the 1st number i enter is positive but if you enter a negative number 1st then it has problems :(
their initialized to 0 because if the user enters the first number.. it checks the number if its <0 or >0 then it enters the loop...
so can you tell me whats wrong? i cant seem to determine... thanks i didnt realize that problem now im even more confused.... :(
i have this program.. basically it keeps reading an integer until the user inputs 0... then it outputs the count of positives and negatives, the sum of the postives and the negatives, largest values...