Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- #include<math.h>
- int main()
- {
- float p,r,t,ci;
- printf("enter the numbers");
- scanf("%f","f%,f",&p,&r,&t);
- ci= p * pow((1 + r / 100), t) - p;
- printf("the ci is %d",ci);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement