Challenge: Personalized Greetings
Taak
Swipe to start coding
Write a method 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.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 1. Hoofdstuk 2
single
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.
Suggested prompts:
Can you explain this in simpler terms?
What are the main points I should remember?
Can you give me an example?
Geweldig!
Completion tarief verbeterd naar 8.33
Challenge: Personalized Greetings
Veeg om het menu te tonen
Taak
Swipe to start coding
Write a method 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.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 1. Hoofdstuk 2
single