Results 1 to 2 of 2
Thread: Java help
- 11-02-2011, 09:40 PM #1Member
- Join Date
- Nov 2011
- Rep Power
i'm writing a program makes a user enter the amount they get paid an hour and how many hours they worked today....
If they work more than 40 hours, the first 40 hours are paid at their normal hourly rate, but any additional hours are paid at double the normal hourly rate.
how do i make the program do this in a sequence? meaning i can do it separately
- 11-03-2011, 01:28 AM #2
Re: Java helphow do i make the program do this in a sequence? meaning i can do it separately
That would mean you need to put the code inside of a loop.
Then you would need to give the user a way to exit the loop when there is no more data to input.