#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);
}
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.
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
Solve simple intress usin fortran
To calculate the return on an investment you will fist write down the amount of your total investment including fees and any expenses. Next, write down your loss and finally calculate the return on investment by dividing the profit by total investment. www.moneychimp.com offers a compound interest calculator for your convenience.
int first= 1;
Reference:cprogramming-bd.com/c_page1.aspx#simpleinterest
give an example of calculation of mathematics
In which computer language?
With a molecular formula we can calculate the molar mass and the chemical composition of a compound, also we can write chemical equations.
#this program to calculate princple amount using perl. print "enter the amount given;","\n"; $A=<stdin>; print "enter the rate of interst given;","\n"; $R=<stdin>; print "enter the no of years given;","\n"; $Y=<stdin>; $o=1+$R; $e=$o**$Y; $t=1/$e; $f=1-$t; $p= $A*$f; print "princple amount $p";
Compound subject: Michelle and Diego Compound predicate: wanted to write poems
Not a very complicated algorithm - all you need to do is to multiply (capital) x (interest rate) x (number of time periods). If the interest rate is expressed in percent, you also need to divide by 100 at some point.
Your interest or our interest. Decide!! If ur then write it on your own and if our.... Still write it on your own!! Ha!! Ha!! Kidding. but plz write it on your own!