Question: Please help me write this code in Java. Problem 1 Future Day of the Week (10 pts) Write a program that asks the user for
Please help me write this code in Java.
Problem 1 Future Day of the Week (10 pts)
Write a program that asks the user for a starting day of the week, then for the number of days into the future. Your program will calculate which day of the week in the future that will be.
Sample Output:

Tip:
A switch-case structure may come in handy.
run: What day are we starting on (1-Sunday, 2-Monday, etc.)? Enter the number of days into the future: 365 365 days into the future will be Monday Enter 1 to try again, or 0 to quit: 1 What day are we starting on (l-Sunday, 2-Monday, etc.2 3 Enter the number of days into the future:7 7 days into the future will be Tuesday Enter 1 to try again, or 0 to quit: 1 What day are we starting on (1-Sunday, 2-Monday, etc.)?7 Enter the nuber of days into the future: 1000000 1000000 days into the future will be Sunday Enter 1 to try again, or 0 to quit: 0 BUILD SUCCESSFUL (total time: 1 minute 28 seconds)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
