Info
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
Calculate factorials under these requirements
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
• Write a function factorial to compute the factorial n! for any integer n.
• The input should be the number n and output should be n!.
• You might have to use a for loop or a while loop to do this.
1 Commento
Ameer Hamza
il 29 Ott 2020
Since this is a homework question, what have you already tried? https://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer
Risposte (0)
Questa domanda è chiusa.
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!