Challenge: Write Your First Program
Tâche
Swipe to start coding
Write a C++ program that prints your name and a short message to the console using std::cout.
- In the main function, use std::cout to display your name.
- On a new line, print a short message of your choice.
- Make sure to include the iostream header and use the correct syntax for output.
- The output should display your name and message on separate lines.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 1. Chapitre 3
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é à 6.67
Challenge: Write Your First Program
Glissez pour afficher le menu
Tâche
Swipe to start coding
Write a C++ program that prints your name and a short message to the console using std::cout.
- In the main function, use std::cout to display your name.
- On a new line, print a short message of your choice.
- Make sure to include the iostream header and use the correct syntax for output.
- The output should display your name and message on separate lines.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 1. Chapitre 3
single