Question: We are practicing using functions. Can you please fix my code! #include #include using namespace std; string word() { cout void my_function(string name)//creates my function
We are practicing using functions. Can you please fix my code!
#include
string word() { cout
void my_function(string name)//creates my function { cout Lab 4 Write a value returning function to get the user's name and a void function to print the user's name [Note: You must have a comment after every line of code in main] Paste your code and comments into my_function.cpp Example Enter your name: Jeremy Blackstone Welcome Jeremy Blackstone
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
