How to remove the word 'Pythogorean results are' for the second line onwards?
1 回表示 (過去 30 日間)
古いコメントを表示

0 件のコメント
採用された回答
Walter Roberson
2018 年 4 月 10 日
編集済み: Walter Roberson
2018 年 4 月 10 日
if c == 1
fprintf('Pythagorean results are\n');
end
if c <= 10
fprintf('a=....');
end
But probably you should just move printing of that one line to before the outer-most loop.
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!