Results 1 to 2 of 2
Thread: Java help
- 11-02-2011, 08:40 PM #1
Member
- Join Date
- Nov 2011
- Posts
- 1
- Rep Power
- 0
Java help
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, 12:28 AM #2
Re: Java help
Does that mean you want to process more than one set of input?how 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.


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks