Because it is a product of real numbers. And the set of real numbers is closed under multiplication.
The value of 9 factorial plus 6 factorial is 363,600
9 factorial = 9! = (9*8*7*6*5*4*3*2*1) = 362880
The number of diagonals in an n-sided polygon is given by nC2 - n (where n is the number of sides of the polygon) or in the expanded form: factorial (n) _______________________ {factorial (2) * factorial (n-2)} substituting (n = 6) for a hexagon we get the number of diagonals as 9. Similarly, substituting (n=5) for a pentagon we get the number of diagonals as 5.
#include <iostream> using namespace std; int main() { int i, number=0, factorial=1; // User input must be an integer number between 1 and 10 while(number<1 number>10) { cout << "Enter integer number (1-10) = "; cin >> number; } // Calculate the factorial with a FOR loop for(i=1; i<=number; i++) { factorial = factorial*i; } // Output result cout << "Factorial = " << factorial << endl;
Mathematically it represents a factorial of that number. A factorial is when you take each number up to value and multiply them. So factorial 5 is 1 x 2 x 3 x 4 x 5. Factorial 11 is 1 x 2 x 3 x 4 x 5 x 6 x 7 x 8 x 9 x 10 x 11. This is often written with the number you are getting the factorial for, followed by an exclamation mark.
double factorial(double N){double total = 1;while (N > 1){total *= N;N--;}return total; // We are returning the value in variable title total//return factorial;}int main(){double myNumber = 0;cout > myNumber;cout
Pseudo code+factorial
6.22702 E+9
A big number.
2.5
The factorial of a number is the product of all the whole numbers, except zero, that are less than or equal to that number.
a factorial number is a number multiplied by all the positive integers i.e. 4!=1x2x3x4=24 pi!=0.14x1.14x2.14x3.14 0!=1