Question: THIS PROGRAM IS TO BE DONE IN C++ Write a program that prompts the user for a positive integer. After the user enters the integer

 THIS PROGRAM IS TO BE DONE IN C++ Write a program

THIS PROGRAM IS TO BE DONE IN C++

Write a program that prompts the user for a positive integer. After the user enters the integer your program should compute the factorial of the number. Be sure to implement and use your own Factorial method/function! Example output would look like this: Enter a positive integer number: O factorial is 1 Continue (Y/y)? Enter a positive integer number: 4 factorial is 24 Continue (Y/y)? Enter a positive integer number: 5 factorial is 120 Continue (Y/y)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!