Skip to content

This was a freshmen University Programming Introduction Course ATM Project

License

Notifications You must be signed in to change notification settings

hamdiitarek/ATM-Machine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

This was a freshmen University Programming Introduction Course Project

Please use this code for personal use only and if you use this code for a university project i am not responsible if you get a zero 😁

ATM Services

This repository contains a simple command-line program for ATM services. It allows users to perform various banking operations such as balance inquiry, deposits, withdrawals, bill payments, and more.

Table of Contents

Features

  • Cardless Services: Users can perform transactions using their account number and PIN.
  • Card Services: Users can perform transactions using their ATM card details.
  • Balance Inquiry: Users can check their account balance.
  • Deposits: Users can deposit money into their account.
  • Withdrawals: Users can withdraw money from their account.
  • Bill Payments: Users can pay their bills using the ATM services.
  • Loan Services: Users can view loan details and make monthly payments.
  • Smart Wallet Services: Users can perform transactions using their smart wallet.

Getting Started

To use this ATM services program, follow these steps:

  1. Clone the repository: git clone https://github.com/hamdiitarek/ATM-Machine.git
  2. Navigate to the project directory: cd ATM-Machine
  3. Compile the program: gcc Source.c -o ATM-Machine
  4. Run the program: ./ATM-Machine

Usage

Upon running the program, you will be prompted to choose between cardless services and card services. Select the appropriate option by entering the corresponding number.

For cardless services:

  1. Enter your account number.
  2. Enter your 4-digit PIN.
  3. Follow the on-screen instructions to perform transactions.

For card services:

  1. Enter your card username.
  2. Enter your bank name.
  3. Enter your card number.
  4. Enter the expiry date (month and year).
  5. Enter the 3-digit CVV.
  6. Enter your 4-digit PIN.
  7. Follow the on-screen instructions to perform transactions.

Please note that this is a simplified version of an ATM program and does not connect to an actual banking system. The purpose is to demonstrate basic programming concepts.

Contributing

Contributions to this project are welcome. If you find any issues or have suggestions for improvement, please open an issue or submit a pull request.

License

This project is licensed under the MIT License.


Example Test Case

To test the ATM services program, follow these steps:

  1. Compile and run the program as described in the Getting Started section.
  2. Choose cardless services.
  3. Enter your account number: [999111222333].
  4. Enter your 4-digit PIN: [9123].
  5. Follow the on-screen instructions to perform various transactions such as balance inquiry, deposits, withdrawals, bill payments, etc.

Ensure that the program behaves as expected, produces the correct output, and handles edge cases gracefully.

Please note that this is just an example test case, and you should include additional test cases to thoroughly test the functionality of the program.

About

This was a freshmen University Programming Introduction Course ATM Project

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages