Program that prompts the user to enter an integer for today’s day of the week (Sunday is 0, Monday is 1, . . ., and Saturday is 6) and the number of days after today for a future day and display the future day of the week.

Liang Introduction to Java Programming exercise 3.5 solution
Sample run

Click here to see other solutions to Introduction to Java Programming.