Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
|
|
@ -0,0 +1,8 @@
|
|||
|a b|
|
||||
a := (Dialog request:'Enter first number:') asNumber.
|
||||
b := (Dialog request:'Enter second number:') asNumber.
|
||||
#( + - / * // \\ quo: rem: raisedTo: **) do:[:operator |
|
||||
|result|
|
||||
result := a perform:operator with:b.
|
||||
'%P %s %P => %P\n' printf:{a . operator . b . result} on:Transcript
|
||||
].
|
||||
Loading…
Add table
Add a link
Reference in a new issue