{"id":22562107,"url":"https://github.com/sanderhelleso/bankingapplication","last_synced_at":"2025-10-08T10:58:31.708Z","repository":{"id":96641398,"uuid":"159117962","full_name":"sanderhelleso/bankingApplication","owner":"sanderhelleso","description":"An imaginary bank application that can store customer’s information for a bank.","archived":false,"fork":false,"pushed_at":"2018-11-26T05:59:21.000Z","size":35,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-28T12:45:13.850Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sanderhelleso.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-26T05:54:15.000Z","updated_at":"2019-05-09T06:44:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"2ebf5704-6998-4f4c-8fcb-35d7ca052675","html_url":"https://github.com/sanderhelleso/bankingApplication","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sanderhelleso/bankingApplication","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanderhelleso%2FbankingApplication","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanderhelleso%2FbankingApplication/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanderhelleso%2FbankingApplication/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanderhelleso%2FbankingApplication/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sanderhelleso","download_url":"https://codeload.github.com/sanderhelleso/bankingApplication/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanderhelleso%2FbankingApplication/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278931654,"owners_count":26070789,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-12-07T22:11:34.333Z","updated_at":"2025-10-08T10:58:31.678Z","avatar_url":"https://github.com/sanderhelleso.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bankingApplication\nAn imaginary bank application that can store customer’s information for a bank.\n\n## Instructions\n\nIn this project, you will develop an imaginary bank application that can store customer’s information for a bank. For this, you should define a class named Customer (= Customer.cpp and Customer.h) which can hold the customer’s first name, last name, SSN, checking account, and/or saving account info. In the project, you can assume that your application can hold maximum 20 customers (= maximum 40 accounts). To maintain the customer’s data, you have to use an array of pointers to Customer objects in the driver program.\n\u003cbr\u003e\n\u003cbr\u003e\nIn the program, you should be able to read customer data in a text file.\nFor example, this is a sample text file called data1.txt\n\u003cbr\u003e\n3\n\u003cbr\u003e\n7777 Tom Smith 1000 1 10.00\n\u003cbr\u003e\n9999 Joe Otter 5000 1 100.25\n\u003cbr\u003e\n8888 Alice Smith 2000 1 50.25\n\u003cbr\u003e\n\u003cbr\u003e\nThe first line indicates the number of customers in the file. Each customer information includes SSN (four digit number), first name, last name, account number (four digit number), account type (1: checking, 2: saving), and current balance. So, the second line indicates that Tom Smith has a checking account with the balance $10.00. Tom’s SSN is 7777 and his account number is 1000. In the project, you can assume that the text file has always correct format (= correct data).\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cul\u003e\n  \u003cli\u003eCustomers can have maximum two accounts (both checking and saving). But they can’t have two checking accounts or two saving accounts at the same time.\u003c/li\u003e\n  \u003cli\u003eAfter the operation of “Close an account”, if a customer doesn’t have any account, your program should delete the customer data from the bank. In other words, a customer should have at least one account (= either checking or saving).\u003c/Li\u003e\n  \u003cli\u003eWhen you conduct the “Transfer Money”, there will be $5 transfer fee for the transfer between two different customers. If the transfer happens between two accounts of a customer, there’s no transfer fee.\u003c/li\u003e\n  \u003cli\u003eFor the “Customer List” operation, your program should display the customer data in the order of SSN (= ascending order).\u003c/li\u003e\n  \u003cli\u003eWhen you display money amount in the program, you should always display the two digits for the cent part. For example, if an account’s balance is $45, it should be displayed as $45.00. As another example, if an account has $45.5, it should be $45.50.\u003c/li\u003e\n \u003c/ul\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanderhelleso%2Fbankingapplication","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsanderhelleso%2Fbankingapplication","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanderhelleso%2Fbankingapplication/lists"}