Help Needed!

Feb 23, 2016 at 7:36pm
need to make a program when given a
month, day, and year determine the date that occurs 9 weeks later.

how should I start of?
Feb 23, 2016 at 7:41pm
First of all use three variables of course, an int month, and int day and an int year. Then, add 9 * 7 days to the day variable. If the day variable is bigger than the months total amount of days, then day = day - days in month, and then add one to the month. Then check if the month is bigger than 12 and add one to the year. Then just print them.
Topic archived. No new replies allowed.