Microsoft Small Basic
Navigation
Main Page
Random Page
Create a new Page
All Pages
Categories
Administration
File Management
Language Selection
Quick Search
Advanced Search »
Discuss (1)
Edit this Page
History
Solution for Find the sum of digits in 100!
Print
RSS
Modified: 2009/03/06 02:51 by 219.89.62.120 -
Uncategorized
maxnumber = 100
sum = 0
For i = 1 To maxnumber
sum=sum + i
EndFor
TextWindow.WriteLine("Sum = " + sum)
ScrewTurn Wiki
version 2.0.35. Some of the icons created by
FamFamFam
.