Function Overloading Practice
Tâche
Swipe to start coding
- Make function overloading for
add
function to support various types:- Create an
add
function that takes float inputs and returns a float. - Create an
add
function that takes strings and returns a string.
- Create an
Solution
solution.cpp
Tout était clair ?
Merci pour vos commentaires !
Section 3. Chapitre 4
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
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?
Awesome!
Completion rate improved to 3.7
Function Overloading Practice
Glissez pour afficher le menu
Tâche
Swipe to start coding
- Make function overloading for
add
function to support various types:- Create an
add
function that takes float inputs and returns a float. - Create an
add
function that takes strings and returns a string.
- Create an
Solution
solution.cpp
Tout était clair ?
Merci pour vos commentaires !
Awesome!
Completion rate improved to 3.7Section 3. Chapitre 4
single