Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0370566

Browse files
Update README.md
1 parent 2c298c3 commit 0370566

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

‎README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
# Java Programming Exercises
22

3-
This repository contains Java programming exercises divided into two levels: Level 1 and Level 2. The exercises cover various fundamental programming concepts.
3+
This repository contains a collection of Java programming exercises, structured into different difficulty levels along with a set of Mini Projects. These exercises cover essential programming concepts, providing a hands-on approach for mastering Java.
44

55
## Table of Contents
66
- [Level 1 Tasks](#level-1-tasks)
77
- [Level 2 Tasks](#level-2-tasks)
8-
8+
- [Mini Projects](#mini-projects)
9+
910
## Level 1 Tasks
1011

1112
### Exercise 1: Setting Up Your First Java Program
@@ -241,7 +242,6 @@ This repository contains Java programming exercises divided into two levels: Lev
241242
```
242243
Employee Name: [name], Age: [calculated age]
243244
```
244-
Sure! Here are the questions for **Exercises 12 and 13** without the code:
245245

246246
### Exercise 12: Using Method Overloading for Input Types
247247

@@ -257,7 +257,6 @@ Sure! Here are the questions for **Exercises 12 and 13** without the code:
257257
### Exercise 13: Combining Method Overloading with Conditional Logic
258258

259259
**Task**: Create a method named `calculateResult` that is overloaded to handle both integers and doubles. Each version of the method should perform different calculations based on the input type.
260-
261260
#### Steps to Complete:
262261
1. Define the overloaded `calculateResult` method:
263262
- For the integer version, calculate and return both the sum of the integer with a predefined constant (e.g., 10) and the factorial of that integer.
@@ -266,6 +265,15 @@ Sure! Here are the questions for **Exercises 12 and 13** without the code:
266265
3. Call the double version of `calculateResult` with a sample double (e.g., 200.0) and print the results.
267266
4. Ensure that the output is clear and well-structured, providing context for each result.
268267

268+
## Mini Projects
269+
270+
### Mini-Project 1: ATM Simulation Program
271+
#### Objective:
272+
Write a Java program that simulates a basic ATM machine. The program allows users to perform the following banking operations:
273+
- Check balance
274+
- Deposit money
275+
- Withdraw money
276+
- Exit the system
269277

270278
## How to Run the Programs
271279
1. Ensure you have Java Development Kit (JDK) installed on your machine.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /