Challenge: Greeting Generator
Tâche
Swipe to start coding
Write all your code directly inside the Main method.
- Declare a string variable with the value
Alice. - Generate a personalized greeting message by concatenating strings using the
+operator, and print it. - Generate the same greeting message using string interpolation with the
$"..."syntax, and print it. - Both messages must be printed on separate lines and must be exactly
Hello, Alice! Welcome to the program.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 1. Chapitre 2
single
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Génial!
Completion taux amélioré à 4.76
Challenge: Greeting Generator
Glissez pour afficher le menu
Tâche
Swipe to start coding
Write all your code directly inside the Main method.
- Declare a string variable with the value
Alice. - Generate a personalized greeting message by concatenating strings using the
+operator, and print it. - Generate the same greeting message using string interpolation with the
$"..."syntax, and print it. - Both messages must be printed on separate lines and must be exactly
Hello, Alice! Welcome to the program.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 1. Chapitre 2
single