Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Defining and Calling Functions | Diving Into Functions
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
C++ Introduction Video Course

bookDefining and Calling Functions

Tâche

Swipe to start coding

  • Define a void function.
  • Modify your void function to print a message of your choice.
  • Call your function in the main function.

Solution

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 3. Chapitre 1
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 how the border animation works in this code?

How can I customize the border colors or animation speed?

Is this border animation supported in all browsers?

close

bookDefining and Calling Functions

Glissez pour afficher le menu

Tâche

Swipe to start coding

  • Define a void function.
  • Modify your void function to print a message of your choice.
  • Call your function in the main function.

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 3. Chapitre 1
single

single

some-alt