learning-perl6/ch4/ex4-4.raku

7 lines
168 B
Raku
Raw Normal View History

2023-11-23 15:56:38 +00:00
sub MAIN ($num1, $num2) {
say "sum is {$num1 + $num2}";
say "difference is {$num1 - $num2}";
say "product is {$num1 * $num2}";
say "quotient is {$num1 / $num2}";
}