
-----------------------------------
cutiegirl_14_16
Thu Mar 06, 2003 9:19 pm

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?

-----------------------------------
cutiegirl_14_16
Thu Mar 06, 2003 9:24 pm


-----------------------------------
NEVER MIND!!!!!!!! I got it...!!!!!!!!
