C++ program to find the factorial of a given number
kw.cpp
Output
kodingwindow@kw:~$ g++ kw.cpp
kodingwindow@kw:~$ ./a.out ——————————————————————————————————————————— Program to find the factorial of a given number ——————————————————————————————————————————— Enter the number 25 OOP's can't find 25! ——————————————————————————————————————————— kodingwindow@kw:~$ ./a.out ——————————————————————————————————————————— Program to find the factorial of a given number ——————————————————————————————————————————— Enter the number 15 Factorial of 15 = 1307674368000 ——————————————————————————————————————————— kodingwindow@kw:~$
What Next?
C++ Strings
Advertisement