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);
In this tutorial will teach Laravel 11 Api MVC with Repository Pattern Crud Application step…
In this tutorial will teach Laravel 11 CRUD Application step by step. Laravel 11 CRUD…
in this tutorials we will be talk about how to make a times table in…
In this tutorials will teach How to add two numbers in Laravel 10. (more…)
In this tutorial, we will teach the process of building a full-stack application using Node.js,…
In this tutorial, we will explin you through the process of building a Hospital Management…