Course of Raku / Essentials / The MAIN
function / Exercises
Print the sum
Problem
Write a program that takes two integer numbers from the command line and prints their sum. Use the MAIN
function with typed parameters.
Example
Here is an example of using this program:
$ raku print-the-sum.raku 500 700
1200
Solution
Next exercise
Course navigation
←
Built-in functions for printing
/ note
|
→