Question: Write a C++ program that will ask the user to enter a number and print the factorial of the number. Define a function named 'Factorial
Write a C++ program that will ask the user to enter a number and print the factorial of the number. Define a function named 'Factorial that accepta one argument and returned the factorial Explanation : Factorial of any number is represented by nl and is equal to 123 Sample input Sample output Enter a number 4 The factorial of entered number 4x3x2x1 = 24
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
