anoter example problem!
Author |
Message |
cutiegirl_14_16
|
Posted: Thu Mar 06, 2003 9:19 pm Post subject: anoter example problem! |
|
|
where
loop
put "Enter a number. To end the program type -999 - " ..
get num
count:=count+1
total:=num+total
exit when num=-999
end loop
put total
this works, but how do u make it so that the total doesn't add the -999 @ the end? |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
cutiegirl_14_16
|
Posted: Thu Mar 06, 2003 9:24 pm Post subject: (No subject) |
|
|
NEVER MIND!!!!!!!! I got it...!!!!!!!! |
|
|
|
|
![](images/spacer.gif) |
|
|