Using of the Loops

Using of the Loops - Poruke

#1 Objavljeno: 17. 2. 2009. 20:38:52
Andrey Ivashov

Andrey Ivashov

2.345 svidjanja u 4.060 postova.

Grupa: 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 Objavljeno: 5. 7. 2009. 13:37:46
Radovan Omorjan

Radovan Omorjan

325 svidjanja i 1 nesvidjanja u 2.052 postova.

Grupa: 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!"
  • Novi postovi
  • Nema novih postova