4/16/21

C Program to Find Simple Interest in C Programming.

Program to find Simple Interest 

#include<stdio.h>

#include<conio.h>

void main()

{

float p,r,t,si;

printf("Enter the value of Principle=");

scanf("%f",&p);

printf("Enter the value of Rate=");

scanf("%f",&r);

printf("Enter the value of Time (Year) =");

scanf("%f",&t);

si=p*r*t/100;

printf("Answer is=%f",si);

getch();

}

Output:- 



0 comments:

Post a Comment

Like us on facebook

blogger templatesblogger widgets

Follow on Twitter

Linkedin

Categories

Contact Form

Name

Email *

Message *

Mad About Computer. Powered by Blogger.