Prafull Joshi

RupeeClarity

Interest that Talks Back

A menu-driven C program that calculates, compares and explains Simple Interest and Compound Interest in Indian Rupees — without hiding the working.

Run in browser View on GitHub

Try it now

Run in browser

The original C program, compiled to WebAssembly. It runs entirely on your device — no install, no sign-in, and nothing is sent anywhere. Click the terminal and type, or use the box and buttons below (best on a phone).

rupeeclarity — running in your browser Loading…

Try 3 → 10000 → 10 → 2 → 1 (yearly compounding) to see why compound interest earns ₹100 more.

Eleven modules

What the program can do

Each module is a numbered choice on the main menu. Values are entered as principal (P) in rupees, rate (R) in percent, and time (T) in years. Compound interest modules also ask for a compounding frequency: yearly, half-yearly, quarterly or monthly.

  1. Simple Interest Lab

    Calculates simple interest and the total amount, and shows the formula SI = (P × R × T) / 100 with the numbers filled in.

  2. Compound Interest Lab

    Calculates compound interest and the total amount for yearly, half-yearly, quarterly or monthly compounding, and shows A = P × (1 + R/(100×n))(n×T) with the working.

  3. Compare SI vs CI

    Places simple and compound interest side by side for the same P, R, T and frequency, reports the extra (CI − SI), names a winner, and explains that last year’s interest starts earning interest when money is compounded.

  4. Year-by-Year Table

    Prints SI amount, CI amount and the gap for each whole year, so the growing difference is visible. The table is limited to 30 rows.

  5. Goal Check

    Asks for a target amount, then reports whether the SI amount and the CI amount each reach it.

  6. What-If +1%

    Recalculates the compound-interest amount at the rate you entered and at one percentage point higher, and shows the difference.

  7. Years to Double / Rule of 72

    Estimates how many years money takes to double using 72 / R, and notes that the Rule of 72 is a shortcut, not an exact result.

  8. Story Mode

    Explains in plain language why compound interest beats simple interest: simple interest is like a fixed salary, while compound interest puts last year’s interest back to work. The extra is not a rounding error.

  9. Save Report

    Writes rupeeclarity_report.txt with P, R, T, compounding frequency, SI, CI and the extra. In this browser version, use Download report afterwards to save the file to your device.

  10. Formula Vault

    Lists every formula the program uses — simple interest, compound interest, and the Rule of 72 — and the meaning of P, R, T and n.

  11. About

    Shows the project card: Prafull Joshi, Class Roll No. 43, BCA-I, session 2026–27, guide Ms. Shivani Sisodia, course Programming in C Lab (BCA-C112), Uttaranchal School of Computing Sciences, Uttaranchal University, Dehradun.

The classic example

Why compound interest earns ₹100 more

Principal ₹10,000 at 10% per annum for 2 years, compounded yearly — the output of module 3, Compare SI vs CI.

Comparison for P = ₹10,000, R = 10%, T = 2 years, yearly compounding
Quantity Simple Interest Compound Interest
Interest earned ₹2,000.00 ₹2,100.00
Final amount ₹12,000.00 ₹12,100.00
Extra from compounding — ₹100.00

The extra ₹100 is not a rounding error: it is the first year’s ₹1,000 interest earning 10% in the second year.

From a real session

Screenshots

Captured from the compiled C program running in a terminal.

Walkthrough

Demo video

A real terminal session of the compiled program (8 minutes 47 seconds, 1080p). It shows the build, every module from 1 to 11, the saved report file, input validation and exit.

If the player does not start, download the MP4 or watch it on GitHub.

Native builds

Download

Ready-to-run programs from the latest GitHub release. No compiler is needed. You can also keep using the browser version above.

Android via Termux

Install Termux from F-Droid (the Play Store version is outdated), open it, and run this one-liner. It picks the 64-bit or 32-bit build for your phone.

curl -fsSL https://raw.githubusercontent.com/PrafullJ0shi/RupeeClarity/main/install.sh | bash

Project files

Documents

Submitted as part of this BCA-I mini project. Opened on GitHub.