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

bookChallenge: Personalized Greetings

Tâche

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.

Solution

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 1. Chapitre 2
single

single

Demandez à l'IA

expand

Demandez à l'IA

ChatGPT

Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion

Suggested prompts:

Can you explain this in simpler terms?

What are the main points I should remember?

Can you give me an example?

close

bookChallenge: Personalized Greetings

Glissez pour afficher le menu

Tâche

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.

Solution

Switch to desktopPassez à un bureau pour une pratique réelleContinuez d'où vous êtes en utilisant l'une des options ci-dessous
Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 1. Chapitre 2
single

single

some-alt