Question: For the below program, write / draw a flowchat. Use rounded rectangles for start / end . Diamonds for conditions. Rectangles for statements that result
For the below program, writedraw a flowchat. Use rounded rectangles for
startend Diamonds for conditions. Rectangles for statements that result
after the conditions.
The program capable of taking in two user inputs. The first user input will be
an integer, these represent the days of the week. The second input will be a number
which represent the hours of the week. Then, based on a predefined schedule the program
will give back various messages. For instance, if you input for Monday and then
for am the program will print "You have the course Writing." If you input for Sunday and
any time, it will tell you "It's the weekend." If you input and then it will tell you, No course at
this time on Monday."
The schedule is:
on Monday the course Writing.
on Monday the course is Math.
on Tuesday the course is Chemistry.
on Tuesday the course is Communication.
on Wednesday the course Writing.
on Wednesday the course is Math.
on Thursday the course is Chemistry.
on Thursday the course is Communication.
In addition, if the user enters the day outside or time outside
the program should give back an error message.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
