Challenge: Personalized Greetings
Tehtävä
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.
Ratkaisu
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 1. Luku 2
single
Kysy tekoälyä
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme
Mahtavaa!
Completion arvosana parantunut arvoon 8.33
Challenge: Personalized Greetings
Pyyhkäise näyttääksesi valikon
Tehtävä
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.
Ratkaisu
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 1. Luku 2
single