I need to figure out how to determine from an input date the number of days to a set date. For example:
I have the code written to validate a good date, account for leap year, etc.... I just do not know how to mathmatically work through the rest of the problem.Code:int Month; int Day; int Year; cout << "Enter a starting date <mm dd yyyy>" << endl; cin >> Month >> Day >> Year; ...
I DO NOT want code, I want to do the code myself...I do however need help working through the logic of the problem.
Thank you for your help and understanding.