Question: C# Develop an app that takes two inputs. The first input is given to be the day of the week, encoded as 0 = Sun,
C#
Develop an app that takes two inputs. The first input is given to be the day of the week, encoded as 0 = Sun, 1= Mon, 2 = Tues, etc. The second input is a boolean-value that indicated whether we are on a vacation or not. The app will show what time the alarm clock should ring. For example, if the alarm clock is set to go off at 7:00, the app will display "7:00" and on the weekend, it should go off at "10:00". If we are on a vacation, the alarm clock should go off at "10:00" on weekdays and on the weekends, the alarm should not go off.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
