/java-exercises

These are simple exercises made to practice Java

Primary LanguageJava

java-exercises

These are simple exercises made to practice Java

1) Practicing ArrayList and Exception Handling -->
Create a menu program with the following options: 1. Add Elements / 2. Remove Elements / 3. Display Elements / 4. Exit
This program runs infinitely until the user chooses the fourth option

2) Bank-management -->
This exercise aims to simulate simple processes made on a bank account, such as deposit and withdrawal.

3)DecimalFormat --->
Create a program that asks what salary the user wants to earn, and then display the entered value formatted in R$, thousands separator and cents to two decimal places.

4) Grade Report --->
A school needs to computerize its gradebook. Develop a program that asks how many students the class has and then store each of the 4 notes that each student in the class has. In the end the program must present a report with the grades per student, the average, and whether the student passed or failed

5) Guessing Game -->
In this game, you will play against the computer. You have 4 guesses to guess the computer's number. There'll be 2 rounds

6) NumberFormat -->
Write a program that displays the number 123456.789 formatted in 8 currencies from different locales.