Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a program using python that models a basic banking system/process. The program will allow users to perform basic banking operations: login to an account

Create a program using python that models a basic banking system/process. The program will allow users to perform basic banking operations: login to an account using a 4-digit PIN, view account information, deposit funds, and withdraw funds. The user should be allowed to make as many deposits and withdraws as possible. When performing withdraw, the operation should only be allowed if the account balance is greater than or equal to the withdraw amount. As the user is interacting with the program, the program should display transaction details (account balance prior to current transaction, transaction amount, and updated balance).

Your program will proceed as follows:

When the program begins, it will load accounts data for multiple bank accounts from a file

Once the accounts are loaded, the user will be prompted to enter a 4-digit PIN that corresponds to an account PIN. Invalid PIN should cause the program to display an error and re-prompt the user for a valid PIN. If a valid PIN is not entered after three tries, the program should exit. Only one account and be access at a time, but the user can work on many accounts sequentially

Once the user enters a valid PIN, the program should locate the account that corresponds to the PIN and display the account information (Account holders first and last name, account number, and type of account: Savings)

The user should then be prompted to select an option:

Option 1 to view account balance

Option 2 to make a deposit

Option 3 withdraw funds

Option 4 to return to the main menu (#2: Prompt for a new PIN)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Datacasting How To Stream Databases Over The Internet

Authors: Jessica Keyes

1st Edition

007034678X, 978-0070346789

More Books

Students also viewed these Databases questions

Question

=+ Why do we have markets and, according to economists,

Answered: 1 week ago