Here is the code, it's kind of long so I didn't want to use the tags. If some of you recognize this particular piece of code, it is actually from the book "The C Programming Language" I just put the comments in. I would recommend that book if you are semi-familiar with C syntax as it's not one of those c for dummies, absolute beginner to pro in 80 days books or whatever. It skips the ultimate basics and wasn't written so you can learn how to program. It was written so you could understand the C syntax better and/or use it as a reference. I realize that this also doesn't account for errors like inputing something over 60 in the minutes variable, but that could probably be easily implemented if you wanted to.