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 COUNT THE INTEREST
float si(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=si(p,r,n);
printf("THE SIMPLE INTEREST IS %f",k);
getch();
}
float si(float p,float r,float n)
float k=0;
k=(p*r*n)/100;
return(k);
OUTPUT :
ENTER THE PRINCIPAL : 10000
ENTER THE RATE OF INTEREST : 5
ENTER THE PERIOD : 1
THE SIMPLE INTEREST IS 600.00
Inheritance and Reuse Consider a car manufacturing company. When they require building a new car, they have two choices. They can start from the scratch, or they can change an
Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b.
why is count function used in c''
write a cprogram to calculate fraction through recursion
Available, and the right kind of programs. My son wants to stop using ice. He has organised detox a number of times, and is always successful. It is the next stage, rehab, where
There are ''n'' ants on a ''n+1'' length rod. The ants are numbered from 1 to n and are initially placed at positions starting from position 1 till position n. They are moving eith
After p = new Fred[n], how does the compiler know about n objects to be destructed throughout delete[] p? A: The run-time system hold the number of objects, n, somewhere where
The size of () operator This is a pseudo-operator given by the language, which returns the number of bytes taken up by a variable or data type. The value returned by this opera
is getchar() is a C++ library function?
Multiple inheritance with a common base (Hybrid Inheritance) Inheritance is an important and powerful feature of OOP. Only the imagination of the person concerned is the limit.
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