Course of Raku / Essentials / Variables and data types essentials / Numbers / Exercises
Sum of numbers
Problem
Write a program that asks to enter three numbers (one after another), and then prints the sum.
Example
Here is an expected script of using the program:
$ raku sum-of-numbers.raku
Enter number A: 10
Enter number B: 20
Enter number C: 30
The sum of the numbers is 60.Solution
Course navigation
← Solution: Apple sharing | Solution: Sum of numbers →
Translations of this page: English • Deutsch • Español • Italiano • Latviešu • Nederlands • Български • Русский • Українська