A terminal-based financial simulation tool that helps you project long-term investments while adjusting for inflation.
Built in C, with CSV and chart output powered by Gnuplot.
Interest Calculator is a simple yet powerful CLI program written in C that simulates compound investment growth over a specified period.
It accounts for both interest (growth) and inflation (devaluation) and outputs a clean .csv dataset along with a visual chart.
It’s ideal for analyzing financial plans!
- 🧾 Custom currency input ($ / ₺ / € / etc.)
- 📈 Compound interest support (monthly rate)
- 📉 Yearly inflation adjustment
- 📅 Time range in months
- 📄 Outputs a
.csvfile with:- Raw value over time
- Inflation-adjusted value
- Formatted amounts for readability
- 📊 Gnuplot integration:
- PNG chart with two plotted lines:
- Raw growth
- Inflation-adjusted growth
- PNG chart with two plotted lines:
- 📂 Filename customization for saving results
- 🧮 Localized formatting for large numbers
- Language: C
- Dependencies:
math.h,stdio.h,stdlib.h,string.h - External Tool: Gnuplot (for chart generation)
- Output format: CSV, PNG
- GCC compiler
- Gnuplot installed and in your PATH
Build using
gcc -o wCurrency src/V_2/V2.2.c -lmRun using
./wCurrency
- API intergration for realtime currency comparison.
- Running website w/UI for ease of use.
- Edge Case handling. Since this is just a work progress.