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 FIND THE FACTORIAL
float factorial(float);
void main()
{
float i=0,c=0;
clrscr();
printf("ENTER THE DIGIT TO FIND THE FACTORIAL: ");
flushall();
scanf("%f",&i);
c=factorial(i);
printf("THE FACTORIAL OF %f IS %f",i,c);
getch();
}
float factorial(float i)
float j=0,k=1;
for(j=1;j<=i;j++)
k=k*j;
return(k);
OUTPUT :
ENTER THE DIGIT TO FIND THE FACTORIAL : 5
THE FACTORIAL OF 5 IS 120.000
What is the difference between early binding and late binding? What are advantages of early binding? a.) Late binding refers to function calls which aren't resolved until run t
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 #include float start_point,
example of friend
compute algorithm to calculate simple interest
First line starts with T, number of test cases. Each test case T contains a necklace (N).
A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome
Is it possible to pass an entire structure to functions? Yes, it's possible to pass an entire structure to a function in a call by method style. Some programmers prefer to decl
A: The simplest way is to use a stringstream: #include #include #include using namespace std; string itos(int i) // convert int to string { stringstream s;
program to find if a no . is prime or not
Selecting Array Elements Implement the following C++ code in assembly language, using the block-structured .IF and .WHILE directives. Assume that all variables are 32-bit signed in
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