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
Convert coordinate: class rect{ private : float x,y; public : void input()
A: No. There is nothing you can do in C++ which you cannot do in C. In spite of everything
a) Define an Asset base class that provides the following method: class Asset { public: virtual double getValue()=0; }; This will be the base class for both stock an
Question : (a) What is a structure? Provide a simple example of your own to illustrate this feature. (b) How does a structure differ from an array? (c) Describe a structu
HOW CAN WE EASLY LEARN C++
i am using mobile phone if i want to communicate via massage but that should be very secret
what is the purpose of pointer ? what is the syntax? how it works?
The for Loop For loop is the controlled form of loop. The general format of this : for( initialize ; test ; update) { statements;
Study the following table used to compute the tax payable by employees in certain organization Gross Pay Fewer than Three Three
Increment and Decrement Operators. The operator for increment is '++' and decrement is '-'. These operators enhances or decrease the value of a variable on which they are ope
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