{"id":18267104,"url":"https://github.com/merttalug/basic-atm","last_synced_at":"2025-04-09T02:24:26.759Z","repository":{"id":181212114,"uuid":"469409245","full_name":"merttalug/Basic-ATM","owner":"merttalug","description":"A basic ATM project where users can manage their bank account","archived":false,"fork":false,"pushed_at":"2022-03-13T15:25:49.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-14T20:45:35.635Z","etag":null,"topics":["atm","java","kodluyoruz","loops","patika-dev"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/merttalug.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-03-13T15:18:32.000Z","updated_at":"2022-06-21T00:44:27.000Z","dependencies_parsed_at":"2023-07-14T14:45:31.871Z","dependency_job_id":null,"html_url":"https://github.com/merttalug/Basic-ATM","commit_stats":null,"previous_names":["merttalug/basic-atm"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/merttalug%2FBasic-ATM","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/merttalug%2FBasic-ATM/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/merttalug%2FBasic-ATM/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/merttalug%2FBasic-ATM/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/merttalug","download_url":"https://codeload.github.com/merttalug/Basic-ATM/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247963618,"owners_count":21025051,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["atm","java","kodluyoruz","loops","patika-dev"],"created_at":"2024-11-05T11:26:04.886Z","updated_at":"2025-04-09T02:24:26.740Z","avatar_url":"https://github.com/merttalug.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Basic ATM\n A basic ATM project where users can manage their bank account\n\n## Transactions\n\nThis ATM program has 4 basic functions :\n\n1. Deposit Money\n2. Withdraw Money\n3. Balance Inquiry\n4. Logout\n\n### Information\n\nThis ATM works by referencing the username as \"patika\" and the password as \"dev123\". If users enter one of the username or password incorrectly 3 times, they will block their accounts and terminate the program. The initial balance information of the users is set at $2800.\n\n\n\n\n```\nint right = 3;\n        int balance = 2800;\n        int select;\n        while (right \u003e 0) {\n            System.out.println(\"Your Username: \");\n            userName = input.nextLine();\n            System.out.println(\"Your Password: \");\n            password = input.nextLine();\n            if (userName.equals(\"patika\") \u0026\u0026 password.equals(\"dev123\")) {\n                System.out.println(\"Hello, Welcome to the Patika Bank...\");\n                do {\n                    System.out.println(\"1- Deposit Money\\n\" + \"2- Withdraw Money\\n\" + \"3- Balance Inquiry\\n\" + \"4- Logout\");\n                    System.out.print(\"Please select the banking transaction you want to do : \");\n                    select = input.nextInt();\n                    switch (select) {\n                        case 1:\n                            System.out.println(\"Enter the amount of money you want to deposit: \");\n                            int deposit = input.nextInt();\n                            balance += deposit;\n                            break;\n                        case 2:\n                            System.out.println(\"Enter the amount of money you want to withdraw: \");\n                            int withdraw = input.nextInt();\n                            if (withdraw \u003e balance) {\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmerttalug%2Fbasic-atm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmerttalug%2Fbasic-atm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmerttalug%2Fbasic-atm/lists"}