C Language
#include<stdio.h> #include<conio.h> void main() { int P, R, T, I; clrscr(); printf("Enter principle, rate and time"); scanf("%d%d%d", &P, &R, &T); I=(P*R*T)/100; printf("Interest=%d",I); getch(); } /*OUTPUT*/ Enter principle, rate and time 2000 5 5 Interest = 500