Info
この質問は閉じられています。 編集または回答するには再度開いてください。
Calculate factorials under these requirements
2 ビュー (過去 30 日間)
古いコメントを表示
• 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 件のコメント
Ameer Hamza
2020 年 10 月 29 日
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
回答 (0 件)
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!