Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
4
Task/Arithmetic-Integer/F-Sharp/arithmetic-integer-1.fs
Normal file
4
Task/Arithmetic-Integer/F-Sharp/arithmetic-integer-1.fs
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
do
|
||||
let a, b = int Sys.argv.[1], int Sys.argv.[2]
|
||||
for str, f in ["+", ( + ); "-", ( - ); "*", ( * ); "/", ( / ); "%", ( % )] do
|
||||
printf "%d %s %d = %d\n" a str b (f a b)
|
||||
5
Task/Arithmetic-Integer/F-Sharp/arithmetic-integer-2.fs
Normal file
5
Task/Arithmetic-Integer/F-Sharp/arithmetic-integer-2.fs
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
4 + 3 = 7
|
||||
4 - 3 = 1
|
||||
4 * 3 = 12
|
||||
4 / 3 = 1
|
||||
4 % 3 = 1
|
||||
Loading…
Add table
Add a link
Reference in a new issue