Anonymous user
Arithmetic/Integer: Difference between revisions
→{{header|Elena}}
m (→{{header|REXX}}: changed the wording for the sign of the remainder, changed the indentation. -- ~~~~) |
|||
Line 604:
=={{header|Elena}}==
<lang elena>#define std'basic'*.
#define math'* = std'math'*.
[
#var a := 'program'input >> Integer.
Line 617 ⟶ 615:
'program'output << a << " * " << b << " = " << a * b << "%n".
'program'output << a << " / " << b << " = " << a / b << "%n". // truncates towards 0
'program'output << a << " %% " << b << " = " <<
].</lang>
=={{header|Euphoria}}==
|