How to remove the word 'Pythogorean results are' for the second line onwards?
1 view (last 30 days)
Show older comments

0 Comments
Accepted Answer
Walter Roberson
on 10 Apr 2018
Edited: Walter Roberson
on 10 Apr 2018
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.
More Answers (0)
See Also
Categories
Find more on Write C Functions Callable from MATLAB (MEX Files) in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!