Skip to content

jagatpandya/command-line-banking-application-c-project

Repository files navigation

Command-Line Banking Application

This program started as a lab practice and evolved into a simple command-line banking application written in C. It empowers users to create accounts, each assigned a unique account number for new entries. With this application, users can seamlessly perform various banking operations, including adding funds, making withdrawals and checking account details.

Screenshot

BadgeBadgeBadge

Note: To view the code in the GitHub repository with proper formatting, make sure to change the tab size from the default 8 to 4. You can adjust this setting in GitHub > Settings > Appearance > Tab Size Preference.

Click the badge below to instantly run and interact with the code on Replit:

Badge

Running the C Program on Linux with GCC

This C program was compiled using the GNU Compiler (GCC) and executed in the Linux terminal. Follow the steps below to run the program:

Screenshot

  • Install dependencies
    How to install gcc on ubuntu 18.04...

Use a text editor to write a C program

Open the C program file runtheprogram.c in your preferred text editor, for example, using:

gedit runtheprogram.c

Check the C program

cat runtheprogram.c

Compile the C program

Note: This command will invoke the GNU Compiler (GCC) to compile the file runtheprogram.c and output (-o) the result to an executable named experiment.

gcc runtheprogram.c -o experiment

Run the C Program (Machine Code)

./experiment

Take a look at the runtheprogram.c file below. It's used as a simple example to demonstrate how to run a C program in Linux using GCC.

Screenshot

License

Please refer to the LICENSE file for information on the license terms and any associated rights and limitations (MIT).

About

Experience a simple, effortless banking system - just run the code! Create multiple accounts, manage funds in respective accounts and access information with simplicity and ease.

Topics

Resources

License

Stars

Watchers

Forks

Languages