Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprende Challenge: Write Your First Program | Getting Started with C++
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
C++ FOundations: V1

bookChallenge: Write Your First Program

Tarea

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.

Solución

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 1. Capítulo 3
single

single

Pregunte a AI

expand

Pregunte a AI

ChatGPT

Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla

close

bookChallenge: Write Your First Program

Desliza para mostrar el menú

Tarea

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.

Solución

Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 1. Capítulo 3
single

single

some-alt