This tutorial will teach you to calculating the employee salary calculation using java .This type of projects java is so imponent those who want to be good java developer. You must get java project ideas here.
Input the employee name and the basic salary calculate and display the netsalary using following condition
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) { double salary,tax,netsal; salary = Double.parseDouble(txtsal.getText()); if(salary > 50000) { tax = salary * 10/100; } else if(salary > 35000) { tax = salary * 5/100; } else { tax = 0; } txttax.setText(String.valueOf(tax)); netsal = salary - tax; txtnetsal.setText(String.valueOf(netsal)); }
txtsal.setText(""); txttax.setText(""); txtnetsal.setText(""); txtsal.requestFocus();
System.exit(0);
Initialize the employee number, Hourswork,and Hoursrate to calculate a grosswage use the following condition. if…
Act as a Java developer to create a program that calculates the gross wage for…
Initialize the employee number, Hourswork,and Hoursrate to calculate a grosswage use the following condition. if…
In this tutorial, we will teach you how to create a simple school management system…
I have design the Admin Basic templete using React MUI Design Admin Dashboard and Login.Here…
In this tutorial ,i am to going teach the Laravel Breeze.Laravel Breeze provides a simple…