Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
11
Task/Arithmetic-Integer/SNOBOL4/arithmetic-integer.sno
Normal file
11
Task/Arithmetic-Integer/SNOBOL4/arithmetic-integer.sno
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
output = "Enter first integer:"
|
||||
first = input
|
||||
output = "Enter second integer:"
|
||||
second = input
|
||||
output = "sum = " first + second
|
||||
output = "diff = " first - second
|
||||
output = "prod = " first * second
|
||||
output = "quot = " (qout = first / second)
|
||||
output = "rem = " first - (qout * second)
|
||||
output = "expo = " first ** second
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue