Integer comparison: Difference between revisions

Add Draco
(add bqn)
(Add Draco)
Line 1,134:
if a > b then Writeln(a, ' is greater than ', b);
end.</lang>
 
=={{header|Draco}}==
<lang draco>proc nonrec main() void:
int a, b;
write("Please enter two integers: ");
read(a, b);
if a<b then writeln(a, " < ", b)
elif a=b then writeln(a, " = ", b)
elif a>b then writeln(a, " > ", b)
fi
corp</lang>
 
=={{header|Dyalect}}==
2,115

edits