RosettaCodeData/Task/Integer-comparison/HolyC/integer-comparison.holyc
2018-06-22 20:57:24 +00:00

12 lines
269 B
Text

I64 *a, *b;
a = Str2I64(GetStr("Enter your first number: "));
b = Str2I64(GetStr("Enter your second number: "));
if (a < b)
Print("%d is less than %d\n", a, b);
if (a == b)
Print("%d is equal to %d\n", a, b);
if (a > b)
Print("%d is greater than %d\n", a, b);