Write a program for a virtual atm machine using java

Assignment Help JAVA Programming
Reference no: EM132107334

You are to program a virtual ATM machine using Java. The client wants a GUI for its virtual ATM. The program will allow a user to enter their personal pin number (only 4 numbers allowed from 0001 to 9999).

The user then must choose which account they would like to make a transaction: Savings Account or Checking Account, or Loan Payment (such as a mortgage, a car loan, or a student loan). If the user chooses a savngs account, then the allowed transactions are either to add money to the saving account, or to withdraw money from the savings account.

A balance must be given to the user at the end of the transaction. Assume that the user has a starting balance of $4000 in each of their checking and savings accounts. Error trapping: if a balance goes below $200, then an alert to the user will be issued.

For the loan payments, the user is to choose whether the loan is for a mortgage, a student loan, an auto loan, or a personal loan. For Mortgage: assume $350,000 balance and payment of $3500 per month; For Student Loan: assume $75,000 balance and payment of $250 per month; For Auto Loan, assume $35,000 balance and payment of $500 per month; For Personal Loan, assume $5,000 and payment of $1000 per month.

Test data: for savings account in order: deposit $2000, deposit $1500, withdraw $2500, final balance Test data for checking account in order: checks (in order) made in the amount of $120, $40, $700, $50, $1000, final balance.

Test data for loan payment(s): see above and provide for at least two payments.

Reference no: EM132107334

Questions Cloud

Determine the roots of a second order polynomial : Determine the roots of a second order polynomial. Prompt the user for the coefficients of the polynomial.
Which data outcome of the speed of cars : Which data outcome of the speed of cars would best support installing a speed bump?
Define random variables x and y as follows : Define random variables X and Y as follows: X(H) = 1, X(T) = 2, Y(H) = 2, Y(T)=1. Find CDF's of X and Y.Are X and Y equal in distribution? What is P(X=Y)?
Write a program that will simulate this vending machine : Write a program that will simulate this vending machine. First, accept coins from the user until the user enters zero.
Write a program for a virtual atm machine using java : You are to program a virtual ATM machine using Java. The client wants a GUI for its virtual ATM. The program will allow a user to enter their personal pin.
Create a class named cylinder with a field for the radius : Create a class named Cylinder with a field for the radius. Write code to display the surface area of both cylinders in an attractive fashion.
Write a program that will guess an integer : Write a program that will guess an integer that the user has picked. Imagine that the user will write down a positive integer x on a piece of paper.
A java program that first asks the user to enter integer : Using Eclipse, write a Java program that first asks the user to enter two integers seperately using JOptionPane.
Write a program that the robot to pick up two blocks : Program the robot to pick up two blocks (the blocks are different sizes) from fixed positions on either side of a center position.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Write a method named rowofstars

Write a method named rowOfStars that takes a single integer parameter n and returns a String with that many stars in it.

  Create an advertisement for tongariro national park

Computer Science Practice Pathway - Project 1 Check Point - ISCG6420 - provide a storyboard as documentation for your advertisement - Create an advertisement

  Develop a small advertisement using animation

Develop a small advertisement using animation. It should advertise Tongariro National Park. Tongariro National Park is on New Zealands

  Prepare an application that uses an array

Write an application that uses an Array to store 10 messages of type String. You will store this Array with 10 messages of your choosing. For example, a message could be "I love Java the programming language!"

  Explain difference between a java error and a java exception

Explain the difference between a Java error and a Java exception. List the two kinds of exceptions in Java. Include an example of each.

  Write the constructor date which has 3 parameters

The Date.java class. Implement a public class Date that represents a date composed of a month , day, and a year. Declare month, day, and year as integers. Date has a constructor with 3 parameters and 4 methods. Write the constructor Date which has..

  Develop class which implements interface

Let the ADT called SquareMatrix. (The matrix can be represented by 2-D array of ints w/ n rows and n columns.) Write specification for ADT as Java interface. Develop the class which implements interface.

  What are major vulnerabilities of java security framework

What are the two major vulnerabilities of Java security framework - How should you resolve the vulnerabilities of Java security framework

  Positive integer number

There is a homework to create a program that takes in a positive integer number from the user and searches for the number with the highest sum of divisors from the 1 to the user imputed number. The program then has to output the number in this range ..

  What balance will be stored

Let Account be the bank account class discussed. What balance will be stored in acct1, acct2, and acct3 after the following statements have been executed

  Write a java method that repeatedly selects

Write a Java method that repeatedly selects and removes a random entry from an array until the array holds no more entries.

  Write a program that prompts the user

Write a program that prompts the user to enter the month and year and displays the number of days in the month

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