Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

programing language c++ ,please ensure program runs before uploading thanks code must be written in c++ Cash Machine Using OOP principles, write a program to

image text in transcribed
programing language c++ ,please ensure program runs before uploading thanks
code must be written in c++
Cash Machine Using OOP principles, write a program to simulate an ATM owned and operated by " International Bank" which will do the following: 1. Welcome and prompt the user to enter an account number and PIN (Use A/C #: 258647, PIN: 3284). If either is wrong, an appropriate error message should be displayed and the user should be prompted to re-enter the account number and PIN otherwise, display the main menu. 2. The main menu should display a numbered option for each of the three (3) types of transactions: balance inquiry (1), withdrawal (2), and deposit (3). The main menu should also display an option to allow the user to exit the system (4). The user then chooses to either perform a transaction or exit the system. 3. If the user enters 1 to make a balance inquiry, the screen displays the user's account balance. (N.B. the initial balance is $250,000.00) 4. If the user enters 2 to make a withdrawal, the user will be prompted to enter a non-negative amount or type 0 (zero) to return to the main menu. a. If the withdrawal amount is greater than the account balance, the screen will display an error message stating this and prompts them to enter a smaller amount b. If the withdrawal amount can be satisfied, carry out the transaction, display the new balance and return to the main menu. C. If a negative value is entered, display an appropriate error message and prompt the user to enter a valid amount. 5. If the user enters 3 to make a deposit, the user will be prompted to enter an amount or type 0 (zero) to return to the main menu

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_2

Step: 3

blur-text-image_3

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

Database Application Development And Design

Authors: Michael V. Mannino

1st Edition

0072463678, 978-0072463675

Students also viewed these Databases questions

Question

18. What was the price of this bond when it was issued?

Answered: 1 week ago

Question

5. Wyeth Pharmaceuticals

Answered: 1 week ago

Question

How many Tables Will Base HCMSs typically have? Why?

Answered: 1 week ago

Question

What is the process of normalization?

Answered: 1 week ago