3 ms·
Formatted version (HN supports code sections by indenting 4 spaces): 10 PRINT "WHAT IS YOUR NAME"; 20 INPUT NAME$ 30 IF NAME$ = "BILL" THEN 40
by 29athrowaway 5y ago
Formatted version (HN supports code sections by indenting 4 spaces):
10 PRINT "WHAT IS YOUR NAME";
20 INPUT NAME$
30 IF NAME$ = "BILL" THEN
40 PRINT NAME$+" SOUNDS LIKE A NAME FOR A DORK!"
50 ELSE
60 PRINT NAME$+" SOUNDS LIKE A GREAT NAME!"
70 END IF
- drewzero1 5y agoOoh, didn't know about the newlines not printing as typed. Thanks for the tip!