Basic Programs
If Else based Programs
Loop Based Programs
Array Based Programs
String Programs
Function Programs
Pointers Programs
Structure & File Handling Programs
Data Structure Programs
Basic C Programs
C Program to calculate Simple interest
#include <stdio.h> #include <conio.h> void main() { int amt=0,rate,years=0,interest=0; printf("enter amount, rate and time"); scanf("%d%d%d", &amt,&rate,&years); interest=(amt*rate*years)/100; printf("interest=%d", interest); }
Output of the above program is as following.

Video/ C Introduction
Watch video in full size