Jump to content

Arithmetic/Integer: Difference between revisions

m
→‎{{header|Ada}}: added code highlighting
(added D... Dos Batch File ^^)
m (→‎{{header|Ada}}: added code highlighting)
Line 4:
 
=={{header|Ada}}==
<ada> with Ada.Text_Io;
with Ada.Integer_Text_IO;
Line 19:
Put_Line("a*b = " & Integer'Image(A * B));
Put_Line("a/b = " & Integer'Image(A / B) & ", remainder " & Integer'Image(A mod B));
end Integer_Arithmetic;</ada>
 
=={{header|Befunge}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.