calculate of simple interest
//calculate of simple interest
#include<stdio.h>
int main( )
{
int p,n;
float r,si;
printf("Enter value of p,n,r=");
scanf(%d%d%f",&p,&n,&r);
si=(p*n*r)/100;
printf("%f\n",si);
return 0;
}
output--
Enter value of p,n,r=1200
n=3
r=12.5
450.00000
Ramesh basic salary is input through the keyword .His dearness allowance is 40% of the basic salary and house rent allowance is 20% of basic salary write a program to calculate his gross salary.
Discrete Mathematical Structure. Set Theory Functions Relations Propositional Logic Predicate Logic Group Theory
https://allcodescience.blogspot.com/2021/12/discrete-mathematical-structure.html
Comments
Post a Comment