Using of the Loops

Using of the Loops - Messages

#1 Posted: 2/17/2009 8:38:52 PM
Andrey Ivashov

Andrey Ivashov

2269 likes in 3729 posts.

Group: Super Administrator

Using of the For Loop.

Сalculation of the factorial with non built-in operator of SMath Studio ("!"), but with Program functions:

(download an example)
#2 Posted: 7/5/2009 1:37:46 PM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 posts.

Group: Moderator

Hello Andrey,

I agree with OchkovVF that the "break" statement should be introduced for the breaking loops too. I think that even just unconditional break (which will leave "for" and "while" would be enough.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
  • New Posts New Posts
  • No New Posts No New Posts