- 1
Who can help with this code
#include <iostream> using namespace std; // prototype int add(int arg1, int arg2) ; double add(double arg1, double arg2) ; string add(string arg1, string arg2) ; int main(){ // variable Declaration /* Initializing and invoking the add() function. */ return 0; } int add(int arg1, int arg2) { return (arg1 + arg2) ; } double add(double arg1, double arg2) { return (arg1 + arg2) ; } string add(string arg1, string arg2){ string result = arg1 + arg2; return result; }
4 Answers
+ 1
What's the problem you are facing here ?
Most of the stuff is already done for you, all you have to to is to call the functions with correct parameters.
+ 1
Here you go đ
https://www.sololearn.com/learning/1637/
+ 1
Ight thanks
0
Can you help with that please?