An open API service indexing awesome lists of open source software.

https://github.com/cromega08/interest_payment

A Challenge in java about calculate the interest of N Accounts
https://github.com/cromega08/interest_payment

challenge challenges challenges-solutions challenges-solved interest interest-rates interests java java17 joptionpane

Last synced: 2 months ago
JSON representation

A Challenge in java about calculate the interest of N Accounts

Awesome Lists containing this project

README

          

# Settlement of interest on savings accounts

**Languages:** [ES](https://github.com/cromega08/interest_payment/blob/master/README_ES.md) - [EN](https://github.com/cromega08/interest_payment/blob/master/README.md)

## Challenge

We have the information about the following N savings accounts of a banking organization:

* Account number, of type **_String_**.

* Opening date, type **_String_** of **_length 10_**, format **_“yyyy/mm/dd”_ (Year/Month/Day)**.

* Type of account **_(1: Daily Savings, 2: Young Account, 3: Traditional)_**, of type **_int_**.

* Account balance, of type **_float_**.

The bank want to create a program in **_JAVA_**, using structured programming, that calculates and displays the following information:

* Account number

* Monthly interest value of the account

* Balance of the account with the increase in the interest value.

* Show the total amount of interest on all accounts.

* Shows the sum of total balances.

In addition, they provide the information to calculate the interest value of the account, which depends on the type of account, as follows:

| Account Type | (%) monthly interest|
| ---|---|
| 1. Daily Savings | 1.5 |
| 2. Young Account | 1.7 |
| 3. Traditional | 1.6 |

## Authors

* [@Cromega08](https://www.github.com/cromega08)

## License

* [GNU AGPL v3.0](https://choosealicense.com/licenses/agpl-3.0/)

## Feedback

If you have any feedback, please feel free to fork this repository and update the solution