Anonymous user
Arithmetic/Integer: Difference between revisions
Logo
m (→{{header|Ada}}: added code highlighting) |
(Logo) |
||
Line 177:
System.out.println("remainder of a / b = " + (a % b));
}
=={{header|Logo}}==
to operate :a :b
show [a = ] print :a
show [b = ] print :b
show [a + b = ] print :a + :b
show [a - b = ] print :a - :b
show [a * b = ] print :a * :b
show [a / b = ] print int (:a / :b)
show [a mod b = ] print modulo :a :b
end
=={{header|LSE64}}==
|