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
Define Array of Structures? An Array of Structures is an assortment of the same data types which are declared as structures. It is useful to store large and different number of
what is the diffeerence between c and c++
Define the Float Data Type of c Language? The float is used to define floating point numbers. The Floating point numbers are stored in 32 bits with 6 digits of precision. Eg
What is algorithm
Money is immutable and is associated with a currency. When two money entities are added or subtracted be sure to consider currency conversion. You must create a money object result
Hi i want to join as a expert .
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. The area under a curve between two points can b
how many types of class relationship
Just need the answers to the following 3 questions. "NO NEED to write a program compile or run it, do not need it. Just need the answers for the following questions. Example quest
Illustrate the Function Definition? The C code that explains what a function does is called the function definition. A function definition has the following form Type fun
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: +1-415-670-9521
Phone: +1-415-670-9521
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd