Question: Design a Magic Box which takes a decimal digit if number is even it starts ringing a bell, if number is a multiple of 4
Design a Magic Box which takes a decimal digit if number is even it starts ringing a bell, if number is a multiple of 4 it starts vibrating, if number is odd it turns a red light on, if number is not a decimal digit it might vibrate/ring/turn the red light on but it starts ringing a danger alarm.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
