Course of Raku / Essentials / Strings / Exercises

Hello, Interpolation!

Problem

OK, let us greet a person once again. But this time try using string interpolation. So, the task is to ask the person to enter the name and print a greeting message.

Example

If you run the program, you get a prompt:

$ raku hello-concatenation.raku
What is your name? Marek
Hello, Marek!

Solution

See the solution

Next exercise

💪 Purchase table

Course navigation

Scalar variables / Names of the variables   |   Numbers

Translations of this page: EnglishDeutschEspañolItalianoLatviešuNederlandsБългарскиРусскийУкраїнська