answersLogoWhite

0

#include<stdio.h>

#include<conio.h>

void main()

{

int fact,f;

printf("Enter number");

scanf("%d",&f);

fact=1;

while(f>1)

{

fact=fact*f;

f--;

}

printf("Factorial is: %d",fact);

}

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

Where can one find C programming tutorials?

You can find C programming tutorials online at the C programming website. They provide both free and paid tutorials for many aspects of the C and C++ code.


Find the dimensions of the rectangle of largest area that can be inscribed in a circle of radius a in C programming?

Find the dimensions of the rectangle of largest area that can be inscribed in a circle of radius a in C programming


Where can one find a board or forum for C?

There is a website that you may find interesting called Programming Forums. On this site, there are many people talking about programming languages, including C.


What is the need to use pointers in C programming?

find the address


Where can one find good books on the C programming language?

The best place to find a good selection of books on the C programming language would be Amazon. One can also find some at Barnes&amp;Noble, Overstock, and WalMart.


Where can you get the c programs?

You can find C programs at http://talentsealed.blogspot.com.


What is c and c in computer programming?

C and C++ are both high-level programming languages.


Create a spiral in C programming?

create spiral in c programming?


Write a c program to find the area and perimeter of circle?

Learn c programming and geometry. It will be easy when you know both.


When was C - programming language - created?

C - programming language - was created in 1972.


What has the author Robert Lafore written?

Robert Lafore has written: 'Object-oriented programming in Microsoft C++' -- subject(s): Object-oriented programming (Computer science), C++ (Computer program language), C. 'Microsoft C. Programming for the I.B.M.Personal Computer' 'Object-oriented programming in C++' 'Windows Programming Made Ridiculously Easy Book' 'The Waite Group's C Programming Using Turbo C++ (The Waite Group)' 'Microsoft C programming for the IBM' 'The Waite Group's Microsoft C programming for the PC' -- subject(s): C (Computer program language), IBM microcomputers, Microsoft C (Computer program), Microsoft C., Programming


What is a C compiler as used in C programming?

In C programming, C compiler is user to translate C source into C object module.