can text next to input be different in each loop?
Show older comments
for i =1 : 5
fprintf('Enter Height %d', i)
x=input('');
end
is there a neater way to write this code ?
i.e : use one function only
Accepted Answer
More Answers (0)
Categories
Find more on Assembly 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!