+ 2
Hey, salam. I want to know how to code for the atm of the bank.
when card is inserted it takes input from the user if pincode is correct it moves for the further process like it has options: check the balance, withdrawal of amount, etc.
3 odpowiedzi
+ 4
To do that you need to MASTER encapsulation.
https://www.tutorialspoint.com/cplusplus/cpp_data_encapsulation.htm
http://www.w3schools.in/cplusplus-tutorial/encapsulation/
+ 3
You should finish the course.
That will help you understand @Adi's code.
0
WS Sarmad. it's simple bro you can chose your own language to code the ATM Bank . but most of the people start with C++. create a class name bank. then using class create objects. take input and use if elseif loop to check pin is correct , check balance & withdrawl amount. wanna save all the data you are taking as input use file handling. 😊 and most important you sould have some grip on C++.