Arithmetic/Integer: Difference between revisions
Content added Content deleted
m (→{{header|AutoHotkey}}: Minor indentation and casing edit) |
|||
Line 70: | Line 70: | ||
Gui, Add, Button, Default, Compute |
Gui, Add, Button, Default, Compute |
||
Gui, Show |
Gui, Show |
||
Return |
|||
return |
|||
ButtonCompute: |
ButtonCompute: |
||
Gui, Submit |
Gui, Submit |
||
MsgBox,% |
MsgBox,% |
||
(Join`s"`n" |
(Join`s"`n" |
||
a "+" b " = " a+b |
|||
a "-" b " = " a-b |
|||
a "*" b " = " a*b |
|||
a "//" b " = " a//b " remainder " Mod(a,b) |
|||
a "**" b " = " a**b |
|||
) |
) |
||
; fallthrough |
|||
GuiClose: |
GuiClose: |
||
ExitApp</lang> |
ExitApp</lang> |
||
=={{header|AWK}}== |
=={{header|AWK}}== |