Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
13
Task/Arithmetic-Integer/Icon/arithmetic-integer.icon
Normal file
13
Task/Arithmetic-Integer/Icon/arithmetic-integer.icon
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
procedure main()
|
||||
writes("Input 1st integer a := ")
|
||||
a := integer(read())
|
||||
writes("Input 2nd integer b := ")
|
||||
b := integer(read())
|
||||
|
||||
write(" a + b = ",a+b)
|
||||
write(" a - b = ",a-b)
|
||||
write(" a * b = ",a*b)
|
||||
write(" a / b = ",a/b, " rounds toward 0")
|
||||
write(" a % b = ",a%b, " remainder sign matches a")
|
||||
write(" a ^ b = ",a^b)
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue