Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele Challenge: Personalized Greetings | Functions with Different Signatures
C# Methods & Modular Thinking

bookChallenge: 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 name parameter 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ää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 2
single

single

Kysy tekoälyä

expand

Kysy tekoälyä

ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

close

bookChallenge: 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 name parameter 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

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 1. Luku 2
single

single

some-alt