Integer comparison: Difference between revisions
Content added Content deleted
m (added whitespace and bullet points to the task's preamble.) |
|||
Line 1:
{{task|Basic Data Operations}}
[[Category:Arithmetic operations]]
{{basic data operation}}
[[Category:Simple]]
Get two integers from the user.
Then, display a message if the first integer is:
::::* less than,
::::* equal to, or
::::* greater than
the second integer.
Test the condition ''for each case separately'', so that ''all three comparison operators are used'' in the code.▼
▲Test the condition ''for each case separately'', so that ''all three comparison operators are used'' in the code.
;Cf:
See also: [[String comparison]]
<br><br>▼
▲<br>
=={{header|360 Assembly}}==
|