#include<stdio.h>
#include<conio.h>
void main();
{
float p,r,t;
float ci(float,float,float);
clrscr();
printf("\n enter principle\n");
scanf("%f",&p);
printf("\n enter rate\n");
scanf("%f",&rate");
printf("\n enter time\n");
scanf("%f",&time");
printf("\n compound interest is%f ",ci(p,r,t));
getch();
}
float ci(float a,float b,float c);
float(result);
result=p(1+r\100)^c-1);
return(result);
}
Chat with our AI personalities
Or you could just do the same thing in a spreadsheet without having to pay commercial rates for the program to be written for you
give an example of calculation of mathematics
In which computer language?
Rewrite the above program so that the program accepts any value for the radius then recalculate the area of the circle.
write a program to multily 3*3 matrix.