RosettaCodeData/Task/Integer-comparison/ZX-Spectrum-Basic/integer-comparison.zx

3 lines
138 B
Text
Raw Permalink Normal View History

2017-09-23 10:01:46 +02:00
10 INPUT "Enter two integers: ";a;" ";b
20 PRINT a;" is ";("less than " AND (a<b));("equal to " AND (a=b));("greather than " AND (a>b));b