How to remove the word 'Pythogorean results are' for the second line onwards?

1 回表示 (過去 30 日間)
Lorenne
Lorenne 2018 年 4 月 10 日
コメント済み: Lorenne 2018 年 4 月 18 日

採用された回答

Walter Roberson
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 件)

カテゴリ

Help Center および File ExchangeWrite C Functions Callable from MATLAB (MEX Files) についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by