Simulate an atm machine and provide the code

Assignment Help MATLAB Programming
Reference no: EM13700805

Question: Use the Account class created in Programming to simulate an ATM machine. Create ten accounts in an array with id 0, 1, . . . , 9, and initial balance $100. The system prompts the user to enter an id. If the id is entered incorrectly, ask the user to enter a correct id. Once an id is accepted, the main menu is displayed as shown in the sample run.

You can enter a choice 1 for viewing the current balance, 2 for withdrawing money, 3 for depositing money, and 4 for exiting the main menu. Once you exit, the system will prompt for an id again. Thus, once the system starts, it will not stop.

You need to simulate an ATM machine and provide the code. I have the answer already but i do not understand it; I need expert to guide through it step by step. thanks!

 

Reference no: EM13700805

Questions Cloud

How long urrent have to be applied to plate out of chromium : Question- A current of 3.47 A is passed through a Cr(NO3)2 solution. How long (in hours) would this current have to be applied to plate out 5.20 g of chromium
Compute the for each of the three subnets : Compute the for each of the three subnets. Also, compute the efficiency of your IP address assignment.Subnet mask, Subnet address and Subnet broadcast address
Calculate the concentration of the zn2 (aq) ion : Question- The voltage generated by the zinc concentration cell described by, Zn(s)|Zn2 (aq, 0.100 M)||Zn2 (aq, ? M)|Zn(s) is 14.0 mV at 25 °C. Calculate the concentration of the Zn2 (aq) ion at the cathode.
Explain the neutral form of the amino acid histidine : Question- Consider the neutral form of the amino acid histidine, given a pH of 3.00, how many mL of 0.050M HClO4 should be added to 25mL of 0.040M Histidine
Simulate an atm machine and provide the code : Simulate an ATM machine and provide the code. I have the answer already but i do not understand it; I need expert to guide through it step by step. thanks!
What volume of solution would be required to neutralize : Question- An acid solution is 0.1200M in HCI and 0.2500M in H2SO4. What volume of 0.14M NaOH solution would be required to neutralize 200ml of the acid solution
Modify the numbers guessing game program : Modify the numbers guessing game program. Suppose that the variable num and guess are as declared and the diff is an int variable.
Explain how many molecules of mgoh2 have you produced : Question- 1) How many grams of Na3(PO4) contain 2.5 x 10^23 Na atoms report the answer to the correct number of sig. figures 2) Given the following reaction
Create a java gui application using netbeans : Create a Java GUI application using Netbeans that allows the user to enter the number of hours spent in each activity and then calculates the number of pounds lost.

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Finite difference method

Use the finite difference method to calculate the temperature at the point specified since it is easier.

  Determine the necessary shell temperature

In a shell-and-tube heat exchanger, one fluid passes through a central tube while another fluid flows through an outer shell in the opposite direction. The purpose is to heat the fluid passing through the central tube.

  Find the integral of a function at an arbitrary location

Write a Matlab function to perform numerical integration of a set of evenly spaced data points using the trapezoidal rule

  Compute the speed of single-stage planetary gear train

Write a MATLAB function [speed] = planetary (N, emesh, first, last, arm) that computes the speed of a given link in a single-stage planetary gear train.

  Calculate and plot the error in the numerical derivative

Write a program to calculate and plot the error in the numerical estimate of the derivative.

  Create the graph using matlab functions

Create the graph, which contains a piecewise function where a line exists in the first interval, a parabola in the second interval, and the sine function in the third interval.

  Develop a simulation program

Develop a simulation program

  Create a vector in matlab

Create a three dimensional diagram of function.

  Open a named pipe and to read data from the pipe

Open a named pipe and to read data from the pipe in matlab

  Write the commands that will create the matrix

Write the commands that will create the matrix.

  Lagrange interpolating polynomial of degree

Lagrange interpolating polynomial of degree

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