I need a urgent help on how to write a Java program that calulates the wage for the staffs.
(1) Read in from the keyboard the current Basic Hourly Wage. This will always be a value between 7.50 and 12.50. (2) Read in from the keyboard a worker's first and family names. (3) Read in his skill grade (A, B, or Q. (4) Read in the number of weeks he wants to calculate his earnings for: this will always be a number between 1 and 6. (5) For each week, read in the number of hours he worked that week.
and the output must be:
The program should print out the worker's name and skill grade, and then (a) How much take home pay in total the worker received. (b) How much is invested in his National Welfare Fund account. (Remember, interest is calculated at the end of each week, and is compounded: that is, previous interest is added to the amount on which interest is paid. Assume that the worker's Fund has nothing in it to start.)
Can anyone help me on this? I need an urgent help on how write this program.