Using a "while" loop to calculate a factorial
19 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Kate Heidingsfelder
le 20 Fév 2021
Réponse apportée : Anusha
le 25 Oct 2023
Use a while loop to calculate f=10!. Display only the final value using the function "disp"
2 commentaires
James Tursa
le 20 Fév 2021
What have you done so far? What specific problems are you having with your code?
Réponse acceptée
Voir également
Catégories
En savoir plus sur Loops and Conditional Statements dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!