Question: a) Using structures, write a c++ program function named larger() that returns the later date of any two dates passed to it. For example, if
a) Using structures, write a c++ program function named larger() that returns the later date of any two dates passed to it. For example, if the dates 10/9/2015 and 11/2/2015 are passed to larger(), the second date is returned.
b) Include the larger() function written for part a in a complete program. Store the Date structure returned by larger() in a separate Date structure and display the member values of the returned Date.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
