i am trying to work on an assignment that asks me to prompt the user for a name of one of three employees, then prompt for the work hours of 6 days. each of these will be stored in a separate array.
then i am to implement the following rules into the program:
cannot work more than 10 hrs/day and if it does, it will only record 10 hrs and display a message informing the user.
and cannot have more than 3 overtime days, a regular day being 8 hrs. if someone tries to enter 4th OT day, program only records 8 hrs and will display a message.
i am having trouble figuring this out and was seeing if any of the more experienced programmers could help me out on this one. thanks alot.