You're closer, but you didn't fix everything. When they enter a weekday, you then ask for an hour. They type one in and hit enter. That enter leaves a new line in the input buffer that throws off...
Type: Posts; User: anduril462
You're closer, but you didn't fix everything. When they enter a weekday, you then ask for an hour. They type one in and hit enter. That enter leaves a new line in the input buffer that throws off...
Sounds like it's an issue with the way you read in input. There are several things to work on here, some of which will probably fix your problem:
Avoid excessive white space and blank lines in...