Using a "while" loop to calculate a factorial
9 views (last 30 days)
Show older comments
Kate Heidingsfelder
on 20 Feb 2021
Use a while loop to calculate f=10!. Display only the final value using the function "disp"
2 Comments
James Tursa
on 20 Feb 2021
What have you done so far? What specific problems are you having with your code?
Accepted Answer
See Also
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!