Question
Write a program on Python that will use the results of 3 questions to decide whether the phone should be answered or not according to
Write a program on Python that will use the results of 3 questions to decide whether the phone should be answered or not according to the logic shown. Display a message stating the final decision. The 3 questions will ask the user if they are asleep, if it is their mom calling, and if it is morning. These questions should accept "yes" or "no" as an answer. You may assume that the input will be correctly formatted. You can choose when to ask the questions, they do not all have to asked at the start. (You do not need to create any code for the "Cell Phone Rings" step.
Start Cell Phone Rings Morning? No- Answer lt Asleep? Mom calling? Yes Yes fes Answer It Don't Answer Don't Answer Display Message EndStep 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