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!We are practicing using functions. Can you please fix my code! #include

#include #include using namespace std;

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!