Using a "while" loop to calculate a factorial
Show older comments
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?
Kate Heidingsfelder
on 20 Feb 2021
Accepted Answer
More Answers (2)
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!