2. C Programs : Print FACTORIAL of a given number

preview_player
Показать описание
Hi All,
In this video you will learn C-Program to find factorial of a given number.

Please fill your details using below link to get latest FREE eBook with the code of all these programs:

For complete list of C Programming videos:

For Learning JAVA Programming:

Thank you.

Regards,
Meganadha Reddy K.
Рекомендации по теме
Комментарии
Автор

we can't expect this much quality in 7 years back. Wonderful explanation sir.

essence
Автор

your code is the simplest so far why aren't you famous?
sending my appreciation from China.
thank you laoshi(teacher).

zuherabud
Автор

For Learning HTML:

For Learning C Programming:

For Learning JAVA Programming:

MeganadhaReddy
Автор

you are amazing
makes everything simple! i am from delhi india! keep making more videos, God bless You, You'll be famous now!

rishabhkumar
Автор

A good teacher from india with good english

hgrajesh
Автор

yes, your code is very easy to understand

snigdha
Автор

Sir your program we're osm
I found it today😀😃

sidharthpadhi
Автор

I understood perfectly...thank u so much

bishnuyashadash
Автор

Very helpful sir... Please make some more

madhukrishnanipankar
Автор

your given examples are more easy to understand then how our teaacher teaches us... thank u

ayushashrestha
Автор

you will become famous.very good explanation.

atkuriajaykumar
Автор

How do i display a table of factorials starting from one up to the entered value?

tabzk
Автор

thanks, but you don't need that library" conio" why did you use it !!

hixamjocular
Автор

Sir plz give me the rply for factorial of 8.by using ur code it will give negative value[-25216].upto 7 factorial is positive. Above 7 it will give negative value as output

eshu_the_perfect
Автор

If I want to find factorial of 120 then this is not useful.then how we can do programming for that

kushgandhi
Автор

Sir can we use fact instead of fact =1 in variable declaration ?

I want to know that why we tuk this fact equal to one as a variable ?
Can u pls reply ?

jatingoyal
Автор

#include <stdio.h>
using namespace std;
int main()
{
int number, i, r=1;
printf("Enter the number : ");
scanf ("%d", &number);
for (i=number;i>=1;i--)
r*=i;

printf("the factorial %d = %d ", number, r);
}

mohamedjunaidy
Автор

Give input as 0 and then ans is 1 wrong ❤❤❤

swapnilgagare