Hi can you help me please to Write a java class which prompts the user for an hourly rate (a double). The program should then calculate the wages for a 40 hour week using a while loop to count the hours and adding the hourly rate each time to the wages total.
No GUI need be written – use JOptionPane for inputting the hourly rate.
Save your program as Wages1.java and test it with £5.50 an hour (the answer should be £220).