MATLAB Answers

Factorial using a while or for loop?

37 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.

Community Treasure Hunt

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

Start Hunting!