Challenge: Personalized Greetings
Task
Swipe to start coding
Write a method GreetUser that accepts a string parameter for a name and prints a greeting message using that name.
- The method must use the provided
nameparameter to create a personalized greeting message. - The greeting message must include the name within the text.
- The greeting message must be printed using a single output statement.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 1. ChapterΒ 2
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Awesome!
Completion rate improved to 8.33
Challenge: Personalized Greetings
Swipe to show menu
Task
Swipe to start coding
Write a method GreetUser that accepts a string parameter for a name and prints a greeting message using that name.
- The method must use the provided
nameparameter to create a personalized greeting message. - The greeting message must include the name within the text.
- The greeting message must be printed using a single output statement.
Solution
Everything was clear?
Thanks for your feedback!
SectionΒ 1. ChapterΒ 2
single