Home Free Projects Banking Deposit Amount Calculation in Java

# Banking Deposit Amount Calculation in Java

0
1,094

In this tutorials will teach Banking Deposit Amount Calculation in Java following these conditions.

User shall be able to choose as 200days 0r 100days option.

• if the user select 200days option includes 20% interest rate.
• if the user select 100days option includes 10% interest rate.

```Double amount = Double.parseDouble(txtAmount.getText());
String days = (String)cboDays.getSelectedItem();
Double tot,interest;

if(days.equals("200"))
{
interest = amount * 20/100 / 365 * 200;
txtInterest.setText(String.valueOf(interest));
tot = amount + interest;
txtTot.setText(String.valueOf(tot));
}
else if(days.equals("100"))
{
interest = amount * 15/100 / 365 * 100;
txtInterest.setText(String.valueOf(interest));
tot = amount + interest;
txtTot.setText(String.valueOf(tot));
}
else
{
JOptionPane.showMessageDialog(null, "Something Wrong");
}```

• ### BeerShop Inventory Management System using Java

This tutorial will teach you how to make a Beer Shop Inventory Management System in Java s…
• ### Student Grade Calculation using Java

This tutorial will teach how to make a  Student Grade Calculation in Java. Input the …
• ### How to Add the Records using Java Mysql

This tutorial will teach you GUI Application in java step by step. How to create the Butto…
• ### Laravel 11 CRUD Application

In this tutorial will teach Laravel 11 CRUD Application step by step. Laravel  11 CRU…
• ### How to make a Times Table in React

in this tutorials we will be talk about how to make a times table in react. This is the co…
• ### Laravel Tutorial: How to Add Numbers Easily Laravel 10

In this tutorials will teach How to add two numbers in Laravel 10. …
• ### Electricity Billing System Using Java

This tutorials will teach Electricity Billing System using Java and Mysql step by step pro…
• ### Cab Services System using Java and Mysql

This tutorials will teach Cab Services System using Java and Mysql step by step process. T…
• ### Javafx Mysql CRUD Step by Step

This Javafx Mysql crud will teach you how to do basic database functions that are CREATE R…