This C program will help you to manage your expenses, offering plenty of commands to better understand your spendings:
- Cargar gasto (Register expense): this option adds a new expense.
- Modificar gasto (Modify expense): it allows you to modify a given expense.
- Elminar gasto (Delete expense): deletes an expense.
- Listar gastos (Show expenses): shows all the saved expenses.
- Gastos menusales (Monthly expenses): given a month, it shows the total spendings.
- Gastos fijos (Fixed costs): shows all the fixed costs.
- Gastos variables (Variable costs): shows all the variable costs.
- Guardar expensas en arhivo (Save expenses in file): saves the expenses in a file.
To give this program a try on Linux:
- Install gcc with this command:
or if you are on mac using Homebrew:
sudo apt update sudo apt install build-essential
brew update brew install gcc
- Check C compiler version to verify a successful installation:
gcc --version
- Compile the program:
gcc -o expenses expenses.c
- Run the program:
./expenses