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