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
Working Ordered linked list: • Eachinteger in the queue is stored inside of a QueueItem. The QueueItem contains the integer, and a pointer to the next item in the queue. Fo
Define the Stream Oriented Data Files? There are two dissimilar types of data files called stream-oriented (or standard) data files and system-oriented (or low-level) data file
Objective: Construct a C program that controls the UART, and is capable of displaying strings. Echo characters received on the UART to the LCD screen Outcome: A mess
#include using namespace std; void print(int marks_arr[],int cnt) { int ind[cnt]; int i=0; int j=0; int k=0; int s=0; for(k=0;k { ind[k]=0; } int cnt1=0; for(i=0;i
# c pragram TO count the number of occurances of the string in nth padovan''s string program in java // aakash , suraj , prem sasi kumar kamaraj college program 1 : pa
How do you declare an integer variable? Explain with an example.
Illustration of Grid function: For illustration, the script below creates two individual figure windows. At First, it clears the figure window. Then, it generates an x vector
Write a C program to compute the factorial of 5 i.e 1x2x3x4x5 etc #include stdio.h void main() { char promt; int factor; factor = 1*2*3*4*5; printf("The fac
I Want a answer for solving the big M method in the topic of simplex method...
Normal 0 false false false EN-US X-NONE X-NONE
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