I have implemented a ATM Working Machine using Switch cases in C++ language which can tell the user about his/her account status
We have Executed the program in following ways-
1. we have createad a Function names showMenu which is reponsible to display the display whenever the program is executed
2. Then in main Function we have first createad a integer option and we have asked for the input for option
3. Now we have started a Switch function in which we have taken option as input
4. Then we have declaread 4 cases in that function
5. Case 1: shows the current balance in the account
6. Case 2: Deposits any amount in the account of the user
7. Case 3:Withdraws any amount in the account of the user
8. Case 4: It is responsible to Exit from the application
Submitted by Vinayak Agarwal (vinayakagarwal)
Download packets of source code on Coders Packet
Comments