i need a GW-BAIC nested loop of for next ??

November 10, 2011 at 23:58:01
Specs: Windows XP
i need nested loop program (for-next) which ans is
1
2
2
3
3
3
4
4
4
4
5
5
5
5
5

See More: i need a GW-BAIC nested loop of for next ??

Report •

#1
November 11, 2011 at 01:50:42
To keep you from straining your brain. Not GW-Basic but Just Basic.

for x = 1 to 5
for y = 1 to x
print x
next y
next x


Report •

#2
November 11, 2011 at 03:33:09
inza, in case you need more than Fred's offer, suspect you'll get more and more knowledgeable responses in the programming forum @:
http://www.computing.net/forum/prog...
HTH
Ed in Texas

Report •
Related Solutions


Ask Question