📢 Attention Java enthusiasts!

📢 Attention Java enthusiasts!

📢 Exciting News! I'm thrilled to announce the successful development trial of my latest project: an ATM application in Java! 🖥️💳

With a focus on efficiency and user-friendly interfaces, this software aims to simplify banking operations and enhance the overall ATM experience.


Key Features:

1️⃣ Cash Withdrawal: Empowering users to conveniently withdraw cash from their accounts with a few simple steps, ensuring a hassle-free experience.

2️⃣ Cash Deposit: Offering users the flexibility to deposit cash into their accounts at the ATM, making it convenient and time-saving.

3️⃣ Check Balance: Providing real-time access to account balances, enabling users to stay informed about their finances.

4️⃣ Change PIN: Empowering users to change their PIN securely and conveniently, enhancing account security.

5️⃣ Exit: Enabling users to safely terminate their ATM session when they have completed their transactions.


I would like to express my heartfelt gratitude to my mentors, Syed Zabi Ulla sir and Hyder Abbas sir, for their invaluable guidance and support throughout this journey. Their expertise and encouragement have been instrumental in shaping my skills and helping me overcome challenges along the way. I am truly grateful for their mentorship and the wisdom they shared.


I'm excited to invite you to join my Discord server, where we discuss all things related to Java projects, coding techniques. It's a vibrant community of passionate developers sharing knowledge and insights.


Checkout the source code in my GitHub Repository :-


import java.util.*
public class Atm {
    public static void main(String[] args) {
        int pin = 8888, availableAmount = 100000;
        boolean exit = false;
        System.out.println("");
        System.out.println("");
        System.out.println("=====================================================================================");
        System.out.print("ENTER YOUR CARD PIN : ");
        Scanner scanner = new Scanner(System.in);
        int pinGivenByUser = scanner.nextInt();
        while (!exit) {
            if (pinGivenByUser == pin) {
                while (!exit) {
                    System.out.println("");
                    System.out.println(
                            "-------------------------------------------------------------------------------------");
                    System.out.println("1.Cash Withdrawl");
                    System.out.println("2.Cash Deposit");
                    System.out.println("3.Check Balance");
                    System.out.println("4.Change PIN");
                    System.out.println("5.Exit");
                    System.out.print("Enter your choice: ");
                    int choice = scanner.nextInt();
                    switch (choice) {
                        case 1: {
                            System.out.println("");
                            System.out.print("Enter the withdraw amount : ");
                            int withdrawAmount = scanner.nextInt();
                            if ((withdrawAmount + 500) <= availableAmount) {
                                availableAmount -= withdrawAmount;
                                System.out.println("");
                                System.out.println("---------------------------------------------");
                                System.out.println("Transaction Successful.");
                                System.out.println("Withdrawl amount : " + withdrawAmount);
                                System.out.println("Remaining Balance : " + availableAmount);
                                System.out.println("---------------------------------------------");
                            } else {
                                System.out.println("");
                                System.out.println("---------------------------------------------");
                                System.out.println("Don't have sufficient amount to withdraw.");
                                System.out.println("---------------------------------------------");
                            }
                            break;
                        }
                        case 2: {
                            System.out.println("");
                            System.out.print("Enter the amount to deposit : ");
                            int depositAmount = scanner.nextInt();
                            System.out.println("");
                            System.out.println("---------------------------------------------");
                            System.out.println("Transaction Successful.");
                            System.out.println("Deposit Amount : " + depositAmount);
                            availableAmount += depositAmount;
                            System.out.println("Updated Balance : " + availableAmount);
                            System.out.println("---------------------------------------------");
                        }
                            break;
                        case 3: {
                            System.out.println("");
                            System.out.println("---------------------------------------------");
                            System.out.println("Available Balance : " + availableAmount);
                            System.out.println("---------------------------------------------");
                            break;
                        }
                        case 4: {
                            System.out.println("");
                            System.out.print("Enter Previous PIN : ");
                            int previousPinChecking = scanner.nextInt();
                            System.out.print("Enter New PIN : ");
                            int newPin = scanner.nextInt();
                            if (previousPinChecking == pin) {
                                pin = newPin;
                                System.out.println("");
                                System.out.println("---------------------------------------------");
                                System.out.println("PIN Updated Successfully");
                                System.out.println("---------------------------------------------");
                            } else {
                                System.out.println("");
                                System.out.println("---------------------------------------------");
                                System.out.println("Previous PIN doesn't match");
                                System.out.println("---------------------------------------------");
                                exit = true;
                            }
                            break;
                        }
                        case 5: {
                            exit = true;
                            break;
                        }
                        default: {
                            System.out.println("---------------------------------------------");
                            System.out.println("Invalid Input");
                            System.out.println("---------------------------------------------");
                        }
                    }
                }
            } else {
                System.out.println("Entered a wrong pin.");
            }
            scanner.close();
        }
    }
}

;        

#JavaProjects #DiscordCommunity #CodeCollaboration #LearningJava #GitHub #Networking #SoftwareDevelopment #JavaEnthusiasts

hi Debasis that's Nice project . I like to you dedication about java because i saw quick answering in java course on pwskills . great project man. keep continuing.

To view or add a comment, sign in

More articles by DEBASIS KHAMARI

Others also viewed

Explore content categories