Program for an atm machine to perform

Assignment Help Basic Computer Science
Reference no: EM131489244

Assignment Overview

The Case Assignment in Module 2 will accomplish three tasks:

  • Demonstrate how to use pseudo code to help programming.
  • Use Scanner class to get user input from a keyboard (allow user interaction).
  • Demonstrate how to use class and objects (OOP concepts).

Case Assignment

Write a program for an ATM machine to perform the following tasks:

  1. Greeting: Hello, welcome to Bank of America.
  2. Display options: Please select one of the following options: Press 1 for balance, 2 for deposit, and 3 for withdrawal
  3. Depending on user selection, the program provides the corresponding result. For example, if the customer chooses 1, the prompt will be: Your current balance is: $XXXXX. If 2 is selected, ask the customer how much she would like to deposit, allow the customer to key in the amount, and then display the balance. If 3 is selected, ask the customer how much to withdraw, and then confirm the balance.
  4. When the customer finishes her selection, ask if she wants another transaction. If not, display: Thank you! And come back soon.

Be creative in your program. Your output does not need to be exactly the same as above, but it needs to capture the five tasks.

Your task:

  1. Write pseudo code based on your analysis.
  2. Write a Java application program based on your pseudo code.

Assignment Expectations

The program needs to:

  • demonstrate the ability to use the selective and repetitive statements,
  • have no bugs, and
  • perform the five tasks (at least) specified in the assignment.

Submit the Java file in the Case 2 dropbox along with a screenshot of the output.

Relational Operators, Logical Operators, and Control Structure

In this SLP assignment, we will get more practice with the concepts we have learned.

Read the following requirements, write pseudo code based on your understanding, and then write a Java application based on your pseudo code.

  1. The program will first ask users to key in their taxable annual income.
  2. Depending on the income level, the program will calculate the tax owed. Using the following table as reference:

Income tax bracket percentage:

0-$8,500: 10%

$8,500-$34,500: 15%

$34,500-$83,600: 25%

$83,600-$174,400: 28%

$174,400-$379,150: 33%

$379,150 and above: 35%

SLP Assignment Expectations

Using information from the modular background readings and Case Assignment as well as any good quality resource you can find, implement a Java program based on pseudo code.

The following items will be assessed in particular:

  1. Ability to use pseudo code.
  2. Ability to use a selection statement in Java.
  3. Ability to use a repetitive statement in Java. 

Reference no: EM131489244

Questions Cloud

Explain the pricing policy : Write a paragraph describing a business you might like to own. Describe the product your business makes. Then use the three determinants of demand elasticity.
Outside research on the two operating systems : Before responding to the below topics, do some outside research on the two operating systems. Be sure to keep track of your sources as you research.
Which can be described as involving direct finance : Which of the following can be described as involving direct finance? Which of the following can be described as involving direct finance?
At what price would expenditures be the smallest : Mindy is trying to estimate the elasticity of demand for a product she wants to sell at a craft fair. She has been told that she can expect to sell 10 items.
Program for an atm machine to perform : Write a program for an ATM machine to perform the following tasks:
Determine the price of your product : Synthesizing Assume that you are a business owner. How would you use your knowledge of demand elasticity.
What are the operations of queue : What is queue? How it represents in memory? What are the operations of queue?
Discuss the law of demand : Making Generalizations Do you think the Law of Demand accurately reflects most people's behavior regarding certain purchases?
Determine cause of razor blades are complementary goods : Determining Cause and Effect Razor blades are complementary goods for razor handles, while electric razors are substitutes. Copy the demand curves below.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Opencv python

OpenCV Python

  Closed-loop congestion control

Congestion control refers to the techniques and mechanism that can either prevent congestion, before it happens, or remove congestion, after it has happened. In general, we can divide congestion control mechanism into two broad categories: Open lo..

  Find the volume of a wedge for an arbitrary angle

Two planes cut a right circular cylinder to form a wedge. One plane is perpendicular to the axis of the cylinder and the second makes an angle of θ degrees with the first. (Use r for the radius.)

  Identify an arbitrage opportunity

Suppose that a one-year futures price is currently 35. A one-year European call option and a one-year European put option on the futures with a strike price of 34 are both priced at 2 in the market.

  Discuss the successes and challenges of the pilot

Discuss the problem or challenge you addressed

  Initialization vector iv for running

Assume that the initialization vector IV for running the considered block cipher in CBC mode is known. How many plaintexts and ciphertexts are now needed to break the cipher by performing an exhaustive key search? How many steps need now maximally..

  Assignment of computer science

Is there anyone who can help me with my Assignment of computer science containing three numbers need to be sorted via Algorithm. Use best algorithm to trace these three numbers according to descending order and write a simple code and also tell th..

  Where is quality assessed within the task set

How is this accomplished? How are the quality attributes discussed in Section 8.2.1 achieved?

  State turing machine m that calculates function

State a Turing Machine M that computes the function f: {a, b}* → N, where: f(x) = the unary encoding of max(#a(x), #b(x)).

  Some of the predictive models

Write 3 page paper on What is a systems development life cycle and What are some of the predictive models associated with the systems development life cycle? APA Format with 2 minimum references.

  Physical distribution relates to channel policy

Discuss how physical distribution relates to channel policy and how they affect one another.

  Important facts the author uses to support the main idea

List three important facts the author uses to support the main idea. What information or ideas discussed in this article/issue are also discussed in your textbook or other readings that you have done

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd