Question
Assume in the Mystery island, days of the week are in the following order: Monday, Friday, Sunday, Saturday, Wednesday, Thursday, and Tuesday. Devise a flowchart
Assume in the Mystery island, days of the week are in the following order: Monday, Friday, Sunday, Saturday, Wednesday, Thursday, and Tuesday.
Devise a flowchart for a computer program to receive two inputs: 1) the day of the first day of the month (store it in m), and 2) a number between 1 and 31 (store it in n). The program should output what day the nth day of the month is in the Mystery island.
For example, if "Friday" and 3 are inputted for m and n, respectively, the program should output "Saturday" because --in the Mystery island-- if the first day of a month is Friday, the 3rd day of the month will be Saturday. As another example, if "Wednesday" and 25 are inputted for m and n, respectively, the program should output "Monday".
Hint: you may want to use the modulus operation and the multiple-branching box.
Submit the flowchart together with pre- and post- conditions as an image file
FLOWCHART ONLY
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started