...
This commit is contained in:
parent
051504d65b
commit
0457928c3e
295 changed files with 3588 additions and 3 deletions
10
Task/Arithmetic-Integer/ALGOL-68/arithmetic-integer.alg
Normal file
10
Task/Arithmetic-Integer/ALGOL-68/arithmetic-integer.alg
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
main:(
|
||||
LONG INT a=355, b=113;
|
||||
printf(($"a+b = "gl$, a + b));
|
||||
printf(($"a-b = "gl$, a - b));
|
||||
printf(($"a*b = a×b = "gl$, a * b));
|
||||
printf(($"a/b = "gl$, a / b));
|
||||
printf(($"a OVER b = a%b = a÷b = "gl$, a % b));
|
||||
printf(($"a MOD b = a%*b = a%×b = a÷×b = a÷*b = "gl$, a %* b));
|
||||
printf(($"a UP b = a**b = a↑b = "gl$, a ** b))
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue