//Write a c program to calculate the simple intrest using formatted input and output statement....

 //Write a c program to calculate the simple intrest using formatted input and output statement.... 



#include<stdio.h>

int main()

{

float price,time,rate,si;

printf("Enter the price=");

scanf("%f",&price);

printf (" Enter the time in months=");

scanf("%f",&time);

printf(" Enter the rate of intrest=");

scanf("%f",&rate);

si= price * time * rate /100;

printf("The simple intrest is =%f \n", si);

}


Thanks   you   for   reading .   For   more   knowledge   click   here

 Learning C programming language from basics concept include with PROGRAMS:

 https://kodewithgy.blogspot.com/2024/09/learning-c-programming-language-from.html

Post a Comment

Please Select Embedded Mode To Show The Comment System.*

Previous Post Next Post