Question: Hello, please write code in Java assignment Lab5B. I wrote it code but is having 2 syntax errors on my code Lab5B: Sounds like somebody
Hello, please write code in Java assignment Lab5B. I wrote it code but is having 2 syntax errors on my code
Lab5B: Sounds like somebody has a case of the Mondays You will design a program to determine the day of your next meeting based on today. Write a program that prompts the user for an integer that represents today (Sunday is 0, Monday is 1, Tuesday is 2, Wednesday is 3, Thursday is 4, Friday is 5, Saturday is 6 and Sunday is 7). Next, the program should ask the user for the number of days until the next meeting (an integer value). The program will determine and print out the meeting day. A sample run is shown below. User input is in bold. Note: You must use a switch statement as part of your solution. Sample output #1: Enter a number that represents today (Sunday==0, Monday==1,...) 2 Enter the number of days until the meeting: 21 Meeting day is Tuesday Sample output #2: Enter a number that represents today (Sunday==0, Monday==1,...) 0 Enter the number of days until the meeting: 11 Meeting day is Thursday
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
