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
Can I explicitly call a destructor if I've allocated my object with new?
full coding for lcm in c++
find the c program to find area under the curvey=f(x) #include float start_point, /* GLOBAL VARIABLES */ end_point, total_area;
Explain Rules for constructing variable names? The Rules for constructing variable names : a) A variable name is any combination of alphabets, 0 to 9 digits and undersc
write a c++ program for the sum of 10 numbers and print out the average
what will be the c program for ideal gas equation.
Default argument: When the argument is missing then the function will read the default value of the missing argument. To make use of default argument functionality the argu
need a copy constructor program
Returning References from Functions Just as in passing the parameters by reference, returning a reference also doesn't return back a copy of the variable , instead an alias is
what is the first thing I need to know about Programming?
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