Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
C Program for FUNCTION OF COMPOUND INTEREST
float ci(float,float,float);
void main()
{
float p=0,r=0,n=0,k=0;
clrscr();
printf("ENTER THE PRINCIPAL: ");
scanf("%f",&p);
printf("ENTER THE RATE OF INTEREST= ");
scanf("%f",&r);
printf("ENTER THE PERIOD= ");
scanf("%f",&n);
k=ci(p,r,n);
printf("THE COMPUND INTEREST IS %f",k);
getch();
}
float ci(float p,float r,float n)
float k=0,t=0;
for(t=1;t<=n;t++)
k=(p*r)/100;
p=p+k;
return(k);
OUTPUT :
ENTER THE PRINCIPAL : 10000
ENTER THE RATE OF INT : 5
ENTER THE PERIOD : 10
THE COMPOUND INTEREST IS 775.664062
Need someone to look over my assignment for correctness and make any necessary changes.
Write a program to calculate the timetable for numbers 1 -> 10 and display them as follows. Your solution should use for do loops #include stdio.h void main() { char p
aj is a newbie to the programming and while learning the programming language he came to know the following rules: - Each program must start with ''{'' and end with ''}''.
Consider a group of n robots, numbered R2D1 through R2Dn, and m tasks, numbered 1 through m. Tasks can be different and robots are specialized, hence a given robot can only perform
Many human diseases could be controlled by the knowledge of the gene’s structure and pattern. The human gene could be represented by four nucleotides. Each nucleotide is represente
Programming Assignment # 1 C and UNIX The purpose of this assignment is to get you more familiar with Unix/Linux and those constructs of C that are not part of C++. Write a C
Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particular colour. Nec
Ask question #Minimum 1Loan negotiation is usually not a straightforward task. A type of loan is the discount installment loan. This type of loan has the following characteristics.
Selection Sort using this a nested for loop to iterate through and compare the array elements. If the value of an element with lower index is greater than the value of an element w
how to find minimum number if shelves required
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd