Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.
A piece of machinery can be in one of several states: working, idle, failed, waiting-for-repair, and being repaired.
A piece of machinery can be in one of several states: working, idle, failed, waiting-for-repair, and being repaired. Show the state transition table and diagram and show how to use the State pattern to simulate this behavior