Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
11
Task/Arithmetic-Integer/I/arithmetic-integer.i
Normal file
11
Task/Arithmetic-Integer/I/arithmetic-integer.i
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
software {
|
||||
var a = number(read(' '))
|
||||
var b = number(read('\n'))
|
||||
|
||||
print("Sum: " , a + b)
|
||||
print("Difference: " , a - b)
|
||||
print("Product: " , a * b)
|
||||
print("Quotient: " , a / b)
|
||||
print("Modulus: " , a mod b)
|
||||
print("Exponent: " , a ^ b)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue