Pages - Menu
HOME
GADGETS
ANDROID
SOFTWARES
COMPUTER TRICKS
ABOUT US
PRIVACY DISCLAIMER
CONTACT
Program for Compound Interest
/*programme to cal compound intrest*/
#include<stdio.h>
#include<conio.h>
#include<math.h>
main()
{
int p,r,n;
float ci;
printf("enter the values of p,r,n");
scanf("%d%d%d",&p,&r,&n);
ci=p*(pow(((1+r)/100),n));
printf("ci=%f\n",ci);
getch();
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment