How to remove the word 'Pythogorean results are' for the second line onwards?
조회 수: 1 (최근 30일)
이전 댓글 표시
채택된 답변
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 Exchange에서 Scope Variables and Generate Names에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!