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.