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

bookChallenge: Personalized Greetings

Aufgabe

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 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.

Lösung

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 2
single

single

Fragen Sie AI

expand

Fragen Sie AI

ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

close

bookChallenge: Personalized Greetings

Swipe um das Menü anzuzeigen

Aufgabe

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 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.

Lösung

Switch to desktopWechseln Sie zum Desktop, um in der realen Welt zu übenFahren Sie dort fort, wo Sie sind, indem Sie eine der folgenden Optionen verwenden
War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 2
single

single

some-alt