Question: Write in c++ language. 20. (12 pts) Finish the program below by adding a void function as specified below Add only a function prototype, function

Write in c++ language.

Write in c++ language. 20. (12 pts) Finish the program below by

20. (12 pts) Finish the program below by adding a void function as specified below Add only a function prototype, function call statement and function definition to the following program The name of the void function is InitStruct The function has one parameter of the struct DataType Name. The function is to initialize each member of the structure parameter with a value o f "NoName. -NoName The information stored in the parameter must be available in main) after the function ca #include using namespace std struct Name string first string middle: string last: // Place the function prototype below this line int main) Name person // Place the function call statement below this line return 0: /I Place the function definition below this line

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!