Friday, October 1, 2010

to compute maturity value on deposit of Rs 12,000 for 2 years with a simple interest rate of 7%. (Interest=PNR/100)

int main()
{
float p=12000,r=7,n=2,a;
a=p+(p*n*r)/100;
printf("maturity value =%f",a);
getch();
return 0;
}

No comments:

Post a Comment