Mathlab program solving answr below
6 ビュー (過去 30 日間)
古いコメントを表示
I want me to reVerse out put what will Be the math lab program looK Like,
n=5
for i=1:n
for j=1:i
fprintf('%d', i)
end
fprintf('\n')
end
7 件のコメント
回答 (2 件)
Torsten
2022 年 8 月 20 日
移動済み: Image Analyst
2022 年 8 月 21 日
n = 5;
for i=n:-1:1
for j=n:-1:i
fprintf('%d', i)
end
fprintf('\n')
end
0 件のコメント
参考
カテゴリ
Help Center および 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!