programming-examples/perl/_Basics/Arithmetic Operators in action.pl
2019-11-15 12:59:38 +01:00

8 lines
146 B
Raku

printf "%d\n", 4 * 5 / 2;
printf "%d\n", 5 ** 3;
printf "%d\n", 5 + 4 - 2 * 10;
printf "%d\n", (5 + 4 - 2 ) * 10;
printf "%d\n", 11 % 2;