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.