99 Bottles of Beer/Basic: Difference between revisions
→{{header|QB64}}
Line 754:
==={{header|QB64}}===
FOR B = 99 TO 1 STEP -1
S$ = STRING$(ABS(B > 1), "s")
PRINT STR$(B); A$; S$; B$; C$: PRINT STR$(B); A$; S$; B$: PRINT D$
SELECT CASE
CASE 2: PRINT STR$(B - 1); A$; B$; C$
CASE ELSE: PRINT STR$(B - 1); A$; S$; B$; C$
NEXT
'CBTJD 2020
▲DATA 99,"","s"," bottle"," of beer"," on the wall. ","Take one down, pass it around. "
▲END</lang>
==={{header|REALbasic}}===
|