Data update
This commit is contained in:
parent
72eb4943cb
commit
4d5544505c
2347 changed files with 62432 additions and 16731 deletions
14
Task/Arithmetic-Integer/OPL/arithmetic-integer.opl
Normal file
14
Task/Arithmetic-Integer/OPL/arithmetic-integer.opl
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
PROC main:
|
||||
LOCAL a%,b%
|
||||
PRINT "Please enter a number:",
|
||||
INPUT a%
|
||||
PRINT "Please enter another number:",
|
||||
INPUT b%
|
||||
PRINT a%;"+";b%;"=";a%+b%
|
||||
PRINT a%;"-";b%;"=";a%-b%
|
||||
PRINT a%;"×";b%;"=";a%*b%
|
||||
PRINT a%;"÷";b%;"=";a%/b%
|
||||
PRINT a%;"%";b%;"=";a%-a%/b%*b%
|
||||
PRINT a%;"^";b%;"=";a%**b%
|
||||
GET
|
||||
ENDP
|
||||
Loading…
Add table
Add a link
Reference in a new issue