A console ATM simulator written in C, made as a debugging exercise. The interface is in Bahasa Indonesia.
- PIN login, with the account blocked after 3 wrong attempts
- Main menu:
- Cek Saldo: check balance
- Tarik Tunai: withdraw cash
- Setor Tunai: deposit cash
- Transfer: transfer funds
- Keluar: exit
- The balance is passed between functions with pointers (starting balance Rp1.000.000)
1234
The project file is for Code::Blocks (DebuggingATM.cbp). You can also build it with GCC:
gcc main.c -o atm.exe
atm.exeThis is a debugging exercise.
main.cincludes a non-existent header<grphik.h>, andchar pin[4]is too small for a 4-digit PIN plus\0. Fixing these is part of the exercise.
Released under the MIT License.
