C Program Examples

380+ working C programs with full source code — K&R solutions, sorting algorithms, data structures, strings, file I/O
Skip to content
  • Home
  • C Programs List — 130+ Examples with Source Code
  • K&R Solutions
  • C Aptitude Questions and Answers for Interview Preparation

SI

Simple Interest Program in C – Formula, Code, and Examples

Posted on September 30, 2011June 25, 2026 by Sandeepa Nadahalli

Simple interest is the straightforward way to calculate interest on a principal amount over time. The formula is SI = (P × R × T) / 100, where P is the principal, R is the annual interest rate as a percentage, and T is the time in years. This program asks for all three values …

Uncategorized   C, C basic, C program, C Programming, c snippets, SI, simple interest
2

Book Pick

The C Programming Language — K&R (Amazon.in)

C Programming Quiz app
C Programming Quiz
150+ questions · 9 topics
Offline · Free on Android
Get it Free ↗
Join the Community
8,000+ C programming enthusiasts
learn and discuss with us
Like our Facebook Page Follow @c_program on X

Start Here

New to C?

  • Install GCC on Windows
  • Install GCC on Linux
  • Install GCC on macOS
  • Set up VS Code for C

Browse C Programs

  • All C Programs
  • Binary Search
  • Binary Search Tree
  • Sort a Linked List
  • Fibonacci (Recursion)
  • Reverse String (Pointers)

K&R Exercises

  • All Chapters Overview
  • Ch 1 — Tutorial Introduction
  • Ch 2 — Types & Operators
  • Ch 3 — Control Flow
  • Ch 4 — Functions
  • Ch 5 — Pointers & Arrays
  • Ch 6 — Structures
  • Ch 7 — I/O

Exam & Interview Prep

  • C Aptitude Questions
Powered by WordPress | Theme: Bootstrap Basic