Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

Databases On The Web Designing And Programming For Network Access

Authors: Patricia Ju

1st Edition

1558515100, 978-1558515109

More Books

Students also viewed these Databases questions

Question

Address an envelope properly.

Answered: 1 week ago

Question

Discuss guidelines for ethical business communication.

Answered: 1 week ago