multiplication table using for loops
이전 댓글 표시
hi , i need a script using for loop and nested one i guess to show this multiplication table, in this order particulary
1
2 4
3 6 9
4 8 12 16
5 10 15 20 25
댓글 수: 2
James Tursa
2021년 3월 14일
What have you done so far? What specific problems are you having with your code?
El-Hassani Ali
2021년 3월 14일
답변 (1개)
for i=1:5
i*(1:i)
end
카테고리
도움말 센터 및 File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!