Write atm program simulation using matlab to do given tasks

Assignment Help MATLAB Programming
Reference no: EM131497210

MATLAB Project description:

Write an ATM program simulation using MATLAB to do the three common tasks: withdraw, deposit and balance checking using three MATLAB functions. You must define 3 users. The users' information are stored in a matrix named as "DATA_BASE".

The three functions are:

The WETHDRAW function to make money withdrawal.
The DEPOSIT function to deposit money in the account.
The CHECKING function to check the account balance.

To withdraw money successfully from the account the balance must be greater than the amount of money to be taken out of that account, otherwise, it displays a message stating that the user does not have enough cash.

The application will prompt the user to enter the account user name and password. If the user name is not predefined, it prints a message stating that the user doesn't have an account with the bank, otherwise, it prompts the user to enter the password. It checks the password. The user has 3 tries to get the password correct. Otherwise, the account will be locked and no transactions can be done. Once the user name and password entered correctly, the application displays the main menu to choose between 3 transactions: withdraw (W), deposit (D), and balance checking (C) or exit (E). After the user finishes its transaction, the application must display the main menu again and user clicks on (E) to close the program.

The user name of the 3 users must be stored in the first column of the matrix "DATA_BASE"
The password of the 3 users must be stored in the second column of the matrix "DATA_BASE"
The 3 accounts balance must be stored in the third column of the matrix "DATA_BASE"

DATA_BASE

User_0

Password_0

Balance_0 $

User_1

Password_1

Balance_1 $

User_2

Password_2

Balance_2 $

Reference no: EM131497210

Questions Cloud

Create a program that represents a savings account : In C++, create a program that represents a savings account. The program should be written. Create a class named SavingsAccount.
Prepare a competitive profile matrix : Michelin has been very successful in the last decade. In your opinion, what strategy changes would Michelin need in 2016?
Find the accounting breakeven point in terms of revenue : Find the accounting breakeven point in terms of revenue and number of units sold per period
What is the sales taxes : A political debate in the United States concerns sales taxes on the Internet. Most states do not collect a sales tax on online products.
Write atm program simulation using matlab to do given tasks : Write an ATM program simulation using MATLAB to do the three common tasks: withdraw, deposit and balance checking using three MATLAB functions.
Compare commercial banking with investment banking : Compare commercial banking with investment banking. what is universal banking?
Hoe does situation of europe compare to us in this regard : The size of American labor unions have fallen sharply in the last decade, mostly due to the erosion of the U.S. manufacturing base.
Strategic international marketing plan report : Analyse the target market segment conditions (e.g. demand and potential, consumer/business buying habits). Discuss the international product strategy
Computer-based inventory management system : We are considering the purchase of a $350,000 computer-based inventory management system.

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