Course of Raku / Essentials / Strings / Exercises

Hello, Concatenation!


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.


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!


See the solution

Next exercise

💪 Hello, Interpolation!

Course navigation

Scalar variables / Names of the variables   |   Numbers