I have been tasked with writing this program for my class for presentation of a good use of the if\else statements. However, after I input my data into the program, the only thing that is displayed is the final else statement. I don't know where the problem is in my code, Could someone look this over and tell me where the mistake is?
I had forgotten to explain the basis of the problem. The problem statement that I'm tasked with is calculating different rates of a phone that is started depending on the time of day the phone call was initiated. The information is as follows:
Time of Day Rate per minute
00:00 - 07:59 0.07 per minute
08:00 - 18:59 0.12 per minute
19:00 - 23:59 0.28 per minute
I'm also asked to display a message stating "Next Day" if a call lasted longer than 23:59.