-
Program help!!!
I'm also required to develop a clock class that represents time using three int variables - hours, minutes, and seconds.
I need to:
1) set the time
2) return the time
3) print the time
4) increment the time by 1 second
5) increment the time by 1 minute
6) increment the time by 1 hour
7) Compare the two times for equality
I then have to compile a program that tests these values...HELP!!!
-
Post what you have done or tried (in code tags), and you'll be a lot more likely to get help. That way we'll know that you've actually put forth some effort yourself.