Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,12 @@
|
|||
Local a, b, result
|
||||
Prompt a, b
|
||||
If a < b Then
|
||||
"<" → result
|
||||
ElseIf a = b Then
|
||||
"=" → result
|
||||
ElseIf a > b Then
|
||||
">" → result
|
||||
Else
|
||||
"???" → result
|
||||
EndIf
|
||||
Disp string(a) & " " & result & " " & string(b)
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
10 REM Integer comparison
|
||||
20 PRINT "Enter a number"
|
||||
30 INPUT A
|
||||
40 PRINT "Enter another number"
|
||||
50 INPUT B
|
||||
60 IF A < B THEN PRINT A;" is less than ";B
|
||||
70 IF A > B THEN PRINT A;" is greater than ";B
|
||||
80 IF A = B THEN PRINT A;" is equal to ";B
|
||||
90 END
|
||||
Loading…
Add table
Add a link
Reference in a new issue