008. Write a program to print simple interest SI = (PNR)/100 in C language

#include<stdio.h>
#include<conio.h>
main()
{
 float SI,P,N,R;
 clrscr();
 printf("Enter values of P, N and R: ");
 scanf("%f%f%f",&P,&N,&R);
 SI=(P*N*R)/100;
 printf("Simple interest = : %6.2f",SI);
 getch();
}

7 thoughts on “008. Write a program to print simple interest SI = (PNR)/100 in C language

Leave a Reply

Your email address will not be published. Required fields are marked *