@lil_misfitss: Please review the Forum's policy on Spoon Feeding, The Problem with Spoon Feeding.
Thanks.
Type: Posts; User: GregBrannon
@lil_misfitss: Please review the Forum's policy on Spoon Feeding, The Problem with Spoon Feeding.
Thanks.
Welcome to the forum! Please read this topic to learn how to post code correctly and other useful info for new members.
You forgot to program for the case y < hours.