In this task create a local function that:
- asks the user for a name (from the console) until an empty string is introduced;
- prints a greeting for each name, for example,
Hello, Alex!
.
Here is an example of program execution flow:
Please enter a name (or press Enter to quit):
Bob
Hello, Bob!
Please enter a name (or press Enter to quit):
Alice
Hello, Alice!
Please enter a name (or press Enter to quit):
John
Hello, John!
Please enter a name (or press Enter to quit):
Process finished with exit code 0