Initialize the employee number, Hourswork,and Hoursrate to calculate a grosswage use the following condition. if the
employee work more than 40 hours then he will paid the hour work over 40 at the rate of the 2 times than than normal rate others get
the normal payment.
I attched the video Below
Here is the Source Code
double Hwork,Hrate,Grosswage,tax; Hwork = Double.parseDouble(txtHwork.getText()); Hrate = Double.parseDouble(txtHrate.getText()); if(Hwork > 40) { Grosswage = ((Hwork - 40) * 2 * Hrate) +( 40 * Hrate ); } else { Grosswage = 40 * Hrate ; } lblGrosswage.setText(Double.toString(Grosswage));
If you're just beginning to learn Java GUI programming creating an Water System Calculator is a fantastic project for…
GitHub is a powerful tool used by teams and developers around the globe. This guide is…
It's like having a super-smart buddy that is always there to help you write stories,…
The UK is known for its rich history, diverse culture, and most of all its…
Do you have a plan for your next holiday? Being aware of the Bank Holidays within the…
The world is rapidly changing of software development AI-assisted tools for coding have become the main focus. As…