Menu

[Solved] 24 12 Pts Finish Program Adding Void Function Specified Add Function Prototvne Function C Q37247492

c++

24.(12 pts) Finish the program below by adding a void function as specified below. Add only a function prototvne function cal

24.(12 pts) Finish the program below by adding a void function as specified below. Add only a function prototvne function call statement and function definition to the following program. Do not add any variable declarations. The name of the void function is lnitStrucure DataType Date The function has one parameter of the structure DataType 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 <iostream> using namespace std; struct Date // format of the date is Month Day, Year // where 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 ) // day is a structure variable of data type Date Date day; // Place the function call below this line return 0; // Place the function definition below this line Show transcribed image text 24.(12 pts) Finish the program below by adding a void function as specified below. Add only a function prototvne function call statement and function definition to the following program. Do not add any variable declarations. The name of the void function is lnitStrucure DataType Date The function has one parameter of the structure DataType 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 // where 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 ) // day is a structure variable of data type Date Date day; // Place the function call below this line return 0; // Place the function definition below this line

Expert Answer


Answer to 24.(12 pts) Finish the program below by adding a void function as specified below. Add only a function prototvne functio… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *