While Loop Question - Will not properly execute
Show older comments
Can anyone help me out on why this while loop will not execute properly when ran through Matlab?
% Until good height, prompt user to enter a value for height in inches
inches = input ('Enter height in inches(59-78): ');
while (inches <= 59) && (inches >= 78)
disp('not between 59-78');
inches = input('Enter height in inches(59-78): ');
end
Accepted Answer
More Answers (0)
Categories
Find more on Graphics Performance 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!