Question: Program checklist for Sign off # 2 1 . If the doors are closed, a button press to move from the current floor to the
Program checklist for Signoff # If the doors are closed, a button press to move from the current floor to the other floor causes the elevator to begin to move The elevator doors open automatically when the elevator reaches the first or second floor A button request to open the doors while the elevator is moving is ignored A button request to move to a different floor while the doors are fully open, opening, or closing, is ignored After the doors have been open for seconds without the Open button being pressed, the doors automatically close. Pressing the Open button while the doors are open resets the countdown to a fresh seconds before the doors automatically close. The Close button causes the doors to close, regardless of how long they have been open More generally, recall that Task stated: Modify your program so that there is no user action that can cause the elevator system to crash with an error. Try hard to cause your program to break, and fix any problems you find, before calling your TA for signoff Your program has clean indentation, no ragged edges Your code uses meaningful variable names Your code is commented to express to the reader the purpose of each section of code.
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
