Function Overloading Practice
Task
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
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.7Awesome!
Completion rate improved to 3.7
Function Overloading Practice
Task
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
Everything was clear?
Thanks for your feedback!
SectionΒ 3. ChapterΒ 4
single
Awesome!
Completion rate improved to 3.7
Function Overloading Practice
Swipe to show menu
Task
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
Everything was clear?
Thanks for your feedback!