Portfolio

Returnning_Strings


/*Make a function that will return a greeting statement that uses an input; your program should return,
"Hello, <name> how are you doing today?".

[Make sure you type the exact thing I wrote or the program may not execute properly]
*/


std::string greet(const std::string& n){
//your code here
std::string a={"Hello, how are you doing today?"};
return (a.insert(7, n));
}