A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 deletions
7
Task/Arithmetic-Integer/Frink/arithmetic-integer-1.frink
Normal file
7
Task/Arithmetic-Integer/Frink/arithmetic-integer-1.frink
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[a,b] = input["Enter numbers",["a","b"]]
|
||||
ops=["+", "-", "*", "/", "div" ,"mod" ,"^"]
|
||||
for op = ops
|
||||
{
|
||||
str = "$a $op $b"
|
||||
println["$str = " + eval[str]]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue