Question: 7:1Y Write c++ struct date (day, month, year) and time (h, m, s) :with the following methods Set date and time (checking the valid date)
7:1Y Write c++ struct date (day, month, year) and time (h, m, s) :with the following methods Set date and time (checking the valid date) .1 .Get the date and time .2 Print the date and time in both formats (universal .3 date and standard) Compute the difference between two dates .4 Add n (days, months, years, hours, minutes or .5 seconds). Hint: you should select .one of them to add
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
