My kid's curfew is 11:00 PM, and the argument every weekendis what happens if he walks in at exactly 11:00 -- he says onthe dot counts as on time, I say a curfew means before. Typein how many minutes late he is (negative if he's early) andsettle it before we argue about it again.Write your requirements list before you write any code. Input, calculate, output, and anything you had to decide for yourself.
if with one else. It does not need a chain.Minutes late: -5
Home on time.A student who is 20 minutes late should get grounded. Test -1, 0, and 1, and make sure the answer at 0 is the one your requirements list promised.
Your requirements list and your program file, named cc-curfew-check.