Question: 24.(12 pts) Finish the program below by adding a void function as specified below otype, function call statement and function definition to the following program.

 24.(12 pts) Finish the program below by adding a void function

24.(12 pts) Finish the program below by adding a void function as specified below otype, function call statement and function definition to the following program. Do not add any variable declarations The name of the void function is InitStruct The function has one parameter of the structure Data Type Date The function is to initialize the structure parameter with a date of January 1, 2000 The information stored in the parameter must be available in main0 after the function call #include using namespace std; struct Date // format of the date is Month Day, Year 77where day and year are numeric, Month is the month name int day; int year string Month; // Place the function prototype below this line int main () Date day I1 day is a structure variable of data type Date // Place the function call below this line return 0 // 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!