Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Learning Objectives: Use of the following to solve a problem: C++ basic data types, variables, assignments, arithmetic - user input/output decisions - basic loops General
Learning Objectives: Use of the following to solve a problem: C++ basic data types, variables, assignments, arithmetic - user input/output decisions - basic loops General Description: Write a C++ program that simulates the function of an ATM machine. For each transaction, the program: - asks the user to enter their current account number and balance (unrealistic, but we don't know how to read data from files yet). displays a menu of transaction options asks the user to choose an option, forcing them to enter a correct option depending on the option chosen, asks for more information - performs the calculations for the transaction - prints the calculated amounts as a "receipt". The program repeats the above steps continuously until the user enters shutdown for the account number. This is a signal for the ATM to shut down (end program). Specifications (example user input in blue): Beginning of transaction: ----+ | Joiner's Bank, Inc. I I CS215-003 + - - Be creative with the "Logo" use your name and section somewhere in the Logo +---------------------+ Enter account number: BA-3456-78 Enter account balance: 275.50 these two entries should "line up" on the left as shown
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started