Factorial using a while or for loop?

8 views (last 30 days)
Alexis Williams
Alexis Williams on 9 Apr 2021
Answered: Abhishek Gupta on 12 Apr 2021
Make a program that asks the user for a whole number and then tells the user the factorial of that number using a while or for loop.

Answers (1)

Abhishek Gupta
Abhishek Gupta on 12 Apr 2021

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!