Receving Inputs From Users


 /* Calculation of simple Interest */

#include<stdio.h>

#include<conio.h>

int main( )

{

int p,n;

float  r,si;

printf("Enter values of p,n,r,");

scanf("%d%d%f ", &p,&n,&r);

si= p*n*r/100;

printf("%f\n",si);

return 0;

}


No comments:

Post a Comment

theengineerschoice01@gmail.com