September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
8
Task/Arithmetic-Integer/BASIC/arithmetic-integer-3.basic
Normal file
8
Task/Arithmetic-Integer/BASIC/arithmetic-integer-3.basic
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
10 INPUT "ENTER A NUMBER"; A%
|
||||
20 INPUT "ENTER ANOTHER NUMBER"; B%
|
||||
30 PRINT "ADDITION:";A%;"+";B%;"=";A%+B%
|
||||
40 PRINT "SUBTRACTION:";A%;"-";B%;"=";A%-B%
|
||||
50 PRINT "MULTIPLICATION:";A%;"*";B%;"=";A%*B%
|
||||
60 PRINT "INTEGER DIVISION:";A%;"/";B%;"=";INT(A%/B%)
|
||||
70 PRINT "REMAINDER OR MODULO:";A%;"%";B%;"=";A%-INT(A%/B%)*B%
|
||||
80 PRINT "POWER:";A%;"^";B%;"=";A%^B%
|
||||
Loading…
Add table
Add a link
Reference in a new issue