Adan and Saim Group Project
Adan and Saim Group Project
Project Description:
As this project is based on ATM interface so ME (Muhammad Adan) and
Saim Shahid had worked on it as a group. ATM project is based on four
random choices and each choice is based on given data or given cash.
User must need to know that if he / she will enter the amount then the
program will behave according to it. In this project there are options i.e
Deposit Money, Withdraw Money, Check Balance, and exit from the
program.
TOOLS:
As there was a problem in PC Dev-C++ was not installing in the system
so I continue the work on online website Programiz. This web is
contains many options like, you can make program on either java
compiler, C++, C#, Python and others etc. No error was erupted from
the program and the program was running efficiently.
END NOTE
The program about ATM is designed by the help of grouping together
and also being supervised by Sir Ahsan Ali (CS Teacher).
The programming code about ATM shows the main basic functions i.e,
Check Balance, Deposit Money, Withdraw Money, and a function of
‘EXIT’. It is easy to understand the program as limited amount of money
in bank card is stored and there are limited conditions and choices.
Coding of the code is fine and no error is obtained from it.
Flow Chart :
[Start]
|
v
[Initialize balance = 1000]
|
v
[Display Menu]
|
v
[Input choice]
|
v
[Decision: choice = 1?] --> [Yes] --> [Display balance] --> [End loop]
|
[No]
|
v
[Decision: choice = 2?] --> [Yes] --> [Input amount] --> [balance +=
amount] --> [Display success message] --> [End loop]
|
[No]
|
v
[Decision: choice = 3?] --> [Yes] --> [Input amount]
|
v
[Decision: amount > balance?] --> [Yes] --> [Display insufficient balance
message] --> [End loop]
| [No]
v
[balance -= amount] --> [Display success message] --> [End loop]
|
[No]
|
v
[Decision: choice = 4?] --> [Yes] --> [Display exit message] --> [End loop]
|
[No]
|
v
[Display invalid choice message] --> [End loop]
[End loop] --> Back to Menu
Inte