0% found this document useful (0 votes)
2 views2 pages

Simple Interest Calculation Program

Uploaded by

nirmit1832
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views2 pages

Simple Interest Calculation Program

Uploaded by

nirmit1832
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Name: Manthan Malusare

Div:- C Roll no. :- 21


Program No. 2
Program Statement: Write a program to
find the Simple interest (SI).
Program:
#include<stdio.h>

#include<conio.h>

void main()

float p,r,t,interest;

clrscr();

printf("Enter the principal amount");

scanf("%f",&p);

printf("Enter the annual rate of interest");

scanf("%f",&r);

printf("Enter the time period in years");

scanf("%f",&t);

interest=(p*r*t)/100;

printf("The Simple Interest for the given parameters is %f",interest);

getch();

Output:

You might also like