Question: write a function in c++ that void Increment(int nunDays 1) This function should move the date forward by the number of calendar day s given
write a function in c++ that

void Increment(int nunDays 1) This function should move the date forward by the number of calendar day s given in the argument. Default value on the parameter is 1 day. Examples: Date di(1e, 31, 1998) Date d2(6, 29, 1950); // Oct 31, 1998 // June 29, 195e d1.Increnent); 62. Increnent (5): // di ?s now Nov 1. 1990 d2 is mow July 4, 1958
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
