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 to check FACTORIAL
main()
{
int i,j,m,fact,sum=0;
clrscr();
printf("ENTER THE NO.: ");
scanf("%d",&m);
for(i=1;i<=m;i++)
fact=1;
for(j=1;j<=i;j++)
fact=fact*j;
}
printf(" %d * ",i);
sum=sum+fact;
printf(" = %d",sum);
getch();
OUTPUT :
ENTER NO: 5
1 * 2 * 3 * 4 * 5 * = 120
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4
WAP TO PRINT THE LARGEST NUMBER FROM ANY 10 NUMBERS #include stdio.h> #include conio.h> void main() { int a[10],i,max;
Mention 3 characteristics of object
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
What are P r im a r y D a t a T y p es? Integer can be defined according to the size of the data and it can be modified further by using keyword unsigned and si
Write C code for a program that implements a digital clock (HH:MM:SS). The clock includes a two-digit hour indicator HH (00-23), a two-digit minute indicator MM (00-59), and a t
Constructors By definition, a constructor function of some class is a member function that automatically gets implemented whenever an instance of the class to which the constru
A: It allows a program to reference an identifier in global scope which has been hidden by another identifier along with the same name in the local scope.
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.
Design a black box suit for function whether a character or string up to 25 characters
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