Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use Microsoft Word . Write the pseudo code for the following scenario. You cannot use global variables. You have to use local variables and methods

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

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 Design Application And Administration

Authors: Michael Mannino, Michael V. Mannino

2nd Edition

0072880678, 9780072880670

More Books

Students also viewed these Databases questions

Question

How do you think participations affect the riskiness of a loan?

Answered: 1 week ago

Question

What are some of the possible scenes from our future?

Answered: 1 week ago