RosettaCodeData/Task/Integer-comparison/Perl-6/integer-comparison-1.pl6
Ingy döt Net 776bba907c Sync
2013-10-27 22:24:23 +00:00

12 lines
175 B
Raku

my $a = prompt("1st int: ").floor;
my $b = prompt("2nd int: ").floor;
if $a < $b {
say 'Less';
}
elsif $a > $b {
say 'Greater';
}
elsif $a == $b {
say 'Equal';
}