Course of Raku / Essentials / Strings / Exercises
Hello, Concatenation!
Problem
Remember our test program called ‘Greet a person’? Let us repeat it on a new level.
Write a program that asks the user for their name and prints a greeting. Use string concatenation in the solution.
Example
If you run the program, you get a prompt:
$ raku hello-concatenation.raku
What is your name?
Then you enter the name and get the greeting:
Hello, Ella!
Solution
Next exercise
Course navigation
← Scalar variables / Names of the variables | Numbers →
Translations of this page: English • Deutsch • Español • Italiano • Latviešu • Nederlands • Български • Русский • Українська