99 Bottles of Beer Program

From GM-RKB
Jump to navigation Jump to search

A 99 Bottles of Beer Program is a simple Computer Program that used to demonstrate or test Looping Code Segment.



References

2018a

FOR Bottle = 100 TO 1 STEP -1

PRINT STR(Bottle) +" bottles of beer on the wall, "+ STR(Bottle) +" bottles of beer"

PRINT "Take one down and pass it around, "+ STR(Bottle-1) +" bottles of beer on the wall"

NEXT Bottle

2018b