Factorial using a while or for loop?

56 次查看(过去 30 天)
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.

回答(1 个)

Abhishek Gupta
Abhishek Gupta 2021-4-12


Help CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by