programming project, Computer Engineering

Assignment Help:
l need a help for my project pllz:)
Write a program that will simulate ATM machine. The Program should prompt the user to enter a valid PIN password number of 5 digits (PIN: 12312). The program will not proceed until a correct PIN is entered. Once a correct PIN is entered, the program will display a menu of 6 choices. Unless a correct choice is entered, the program will keep telling the user to enter a correct choice as shown in Fig.1.
Figure 1
If choice 1 is selected (Check Balance), then a new window will appear as shown in Fig.2 (See notes how to get new window) which is the amount of your account. The program will give the user the choice to continue (if 1 is entered) or exit (if 0 is entered). If 1 is entered, then the program will display the menu as shown in Fig.1.
Figure 2
Introduction To Programming GENG200 Project Prepared By: Ayman Rabee
Page 2 of 6
If choice 2 is selected (Make Withdrawal), then the program will display a new window that gets the amount you want to withdraw. If the amount is negative or if it is greater than your balance, then the program will tell the user a specific message according to the input. An illustration is shown in Fig.3 and Fig.4.
You should note that if the user responds with a valid amount, then the original account balance should be affected.
Figure 3
Figure 4
If choice 3 is selected (Make A Deposit), then the program will start with a new window as shown in Fig.5. The program will not proceed unless a positive value is entered.
Figure 5
Introduction To Programming GENG200 Project Prepared By: Ayman Rabee
Page 3 of 6
You should note that if the user entered with a valid amount, then the original account balance should be increased by this amount.
If choice 4 is selected (View Account Information), then the program should display in new window information about the built-in account as shown in Fig.6.
Figure 6
If choice 5 is selected (Pay Bills), then the program should display in new window choices about the bills you want to pay for as shown in Fig.7 and Fig.8. Here you have to select 1 or 2; if any other number is entered the program will keep asking enter 1 or 2.
Figure 7
Introduction To Programming GENG200 Project Prepared By: Ayman Rabee
Page 4 of 6
Figure 8
Note that the program in this case will ask the user about the amount of money to be paid for the bills, the program will accept the amount if the following conditions are true:
1. The Amount >= 0
2. The Amount <= Your Account Balance
3. The Amount <= Your Bill
If choice 6 is selected (Exit), then the program will display a new window as shown in Fig.9 giving the user the choice to continue with program or exit.
Figure 9
Introduction To Programming GENG200 Project Prepared By: Ayman Rabee
Page 5 of 6
Important Notes:
1. The Program should give the user the choice to continue working with the program or exit after every operation as shown in all of the figures above.
2. You should use user-defined functions wherever possible.
3. To clear the screen and start with an empty one, you can make use of the example code listed in sample program 1.
a. For windows users use system(“cls”)
b. For MAC OsX users use system(“clear”).
c. Use stdlib.h library

Related Discussions:- programming project

Payment, how can get payment

how can get payment

Where does the cpu enhanced mode originate , Intel's 8086 was the first 32-...

Intel's 8086 was the first 32-bit processor, and as the company had to backward-support the 8086. All the modern Intel-based processors will run in the Enhanced mode, capable of sw

Explain the types of hardware used in supermarkets, Explain the types of ha...

Explain the types of hardware used in supermarkets These use many types of specialist I/O hardware. For instance: -  Bar code readers/scanners (to read product details and e

Determine the simplified sop boolean expression, Reduce the following equat...

Reduce the following equation using k-map Y = BC‾D‾ + A‾BC‾D + ABC‾D + A‾BCD + ABCD Ans. Multiplying the first term with (A+A') Y = A'BC'D' + ABC'D' + A'BC'D + ABC'D + A'BCD + A

Explain the architectural description languages, Explain the Architectural ...

Explain the Architectural description languages Architectural description languages (ACLs) have been developed for the architectural description in analysis and design process

DFD, Draw the Context level DFD for the Safe home Software.

Draw the Context level DFD for the Safe home Software.

Asymptotic notations, Asymptotic Notations These notations are used fo...

Asymptotic Notations These notations are used for evaluating functions. Assume we have two functions f(n) and g(n) defined on real numbers, Theta Notation Big Notation

Emergence of computer network, Which Technologies of this age had tended to...

Which Technologies of this age had tended to the emergence of computer network? Ans: The technologies are Communication technology and Computer technology with the support of V

Explain the different page replacement policies, Explain the different page...

Explain the different page replacement policies. Various page replacement algorithms are briefly explained below: 1. First-in, first-out FIFO page replacement algorith

Describe about minicomputers, Q. Describe about Minicomputers? Minicomp...

Q. Describe about Minicomputers? Minicomputers, developed in the early 1960s, are high-performance, general-purpose multi user computers. These are also designed for real-tim

Write Your Message!

Captcha
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