by Dinesh Thakur Category: C Programming (Pratical)

This is c program that ask user to find out the interest of value. Here user declares the variables for containing the value in it. User has all components to find out the interest of value. User asks to enter the number for program execution and use the method of Simple interest. Display the result on the screen as output.

Problem Statement:

This is c program that ask to find out the simple interest.

  1. Declare the variables.
  2. Using S.I method.
  3. Display result on the screen.

Syntax of Simple interest method:
"si =p*r*t/100; "

Here is C source code to find out the Simple interest. Output of this program shown below. 


#include<stdio.h>
main()
{
int p,r,t,si;
clrscr();
printf("enter the p,r,t");
scanf("%d%d%d",&p,&r,&t);
si=p*r*t/100;
printf("%d",si);
getch();
}
 C Program Write a Program to Calculate Interest of Value


About Dinesh Thakur

Dinesh ThakurDinesh Thakur holds an B.SC (Computer Science), MCSE, MCDBA, CCNA, CCNP, A+, SCJP certifications. Dinesh authors the hugely popular blog. Where he writes how-to guides around Computer fundamental , computer software, Computer programming, and web apps. For any type of query or something that you think is missing, please feel free to Contact us.