Function Overloading Practice
Task
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
solution.cpp
Everything was clear?
Thanks for your feedback!
SectionΒ 3. ChapterΒ 4
single
Ask AI
Ask AI
Ask anything or try one of the suggested questions to begin our chat
Awesome!
Completion rate improved to 3.7
Function Overloading Practice
Swipe to show menu
Task
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
solution.cpp
Everything was clear?
Thanks for your feedback!
SectionΒ 3. ChapterΒ 4
single