Home Java Banking Application FD Rate Calculation using Java

# Banking Application FD Rate Calculation using Java

0
0

In this tutorials i am to teach Banking Application FD Rate Calculation using Java.

FD Rate must be grater than 100,000.
below 100,000 no interest rates included.

if the FD Rate more than 100,000 include
following condition

1. if the FD Rate more than 100,000
include 4.75 interest rate

2. if the FD Rate more than 500,000
include 6.75 interest rate

3. if the FD Rate more than 1000,000
include 8 interest rate

Here is code

```public class FirstApp {

public static void main(String[] args) {

{
double fdrate,interest_rate,accountbal;

fdrate = 1500000;
interest_rate = 0;
accountbal =0;

if(fdrate < 100000)
{
System.out.println("FDrate not below 100000");
}
else
{

if(fdrate >= 100000 && fdrate < 500000)
{
interest_rate = fdrate * 4.75/100;
}
else if(fdrate >= 500000 && fdrate < 1000000)
{
interest_rate = fdrate * 6.75/100;
}
else
{
interest_rate = fdrate * 8/100;
}

System.out.println("Your Interest rate is " + interest_rate);

accountbal = fdrate + interest_rate;

System.out.println("Your Total Amount  is " + accountbal);

}

}

}
}```

• ### Laravel 11 Image Upload Example

In this lesson we talk about laravel 11 image uploading and display the image step by step…
• ### Library Management System using Spring Boot

This tutorils will teach about complete library management project.the purpose of this pro…
• ### Complete Spring Boot RESTful API CRUD Project Tutorial

Introduction to Spring Boot and RESTful APIs Spring Boot is a powerful framework for build…
• ### Electricity Bill Calculation using Java Application

This tutorils teach Electricity Bill Calculating based on the below conditions step by ste…
• ### Banking Loan Calculation Project using Java

This tutorials series we are going to talk about how to make a banking loan calculation pr…
• ### Bakery Management System Project using Java

This tutorial will teach you how to make a Bakery Management System Project using Java in …

## Laravel 11 Image Upload Example

In this lesson we talk about laravel 11 image uploading and display the image step by step…