Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
10
Task/Integer-comparison/TUSCRIPT/integer-comparison.tu
Normal file
10
Task/Integer-comparison/TUSCRIPT/integer-comparison.tu
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
$$ MODE TUSCRIPT
|
||||
|
||||
ASK "Please enter your first integer:": i1=""
|
||||
ASK "Please enter your second integer:": i2=""
|
||||
|
||||
IF (i1!='digits'||i2!='digits') ERROR/STOP "Please insert digits"
|
||||
|
||||
IF (i1==i2) PRINT i1," is equal to ",i2
|
||||
IF (i1<i2) PRINT i1," is less than ",i2
|
||||
IF (i1>i2) PRINT i1," is greater than ",i2
|
||||
Loading…
Add table
Add a link
Reference in a new issue