Function Overloading Practice
Uppgift
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
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 3. Kapitel 4
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal
Awesome!
Completion rate improved to 3.7
Function Overloading Practice
Svep för att visa menyn
Uppgift
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
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 3. Kapitel 4
single