Question
This is for my Programming Logic and Design class. Use Microsoft Word . Write the pseudo code for the following scenario. You cannot use global
This is for my Programming Logic and Design class.
Use Microsoft Word .
Write the pseudo code for the following scenario. You cannot use global variables. You have to use local variables and methods which may take parameters or not.
You have to write the pseudocode to mimic and ATM machine. Assume the original balance is $5000.
Your program must contain methods to:- Display the choices to him ( a - deposit, b - withdraw , c - balance inquiry) and get the choice. Based on the choice call the methods to deposit , withdraw or balance inquiry. Do some error checking such as - if the user tries to withdraw more than the balance - display an error message that withdrawl denied. If after the withdrawl his balance is Below $100 - display a warning stating "Balance below $100".
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