RosettaCodeData/Task/Arithmetic-Integer/MSX-Basic/arithmetic-integer.basic
2023-12-16 21:33:55 -08:00

7 lines
240 B
Text

10 INPUT "Enter two integers separated by a comma: ";A, B
20 PRINT " Sum:"; A + B
30 PRINT "Difference:"; A - B
40 PRINT " Product:"; A * B
50 PRINT " Quontent:"; A \ B
60 PRINT " Remainder:"; A MOD B
70 PRINT " Power:"; A ^ B