Trying to get an answer for 'a' - while loop??
Show older comments
a=0
while a<5
a = a + 2;
end
disp (a)
What is the answer for 'a'?
1 Comment
Hiro Yoshino
on 7 Mar 2023
Why don't you run the code on MATLAB?
Accepted Answer
More Answers (0)
Categories
Find more on Loops and Conditional Statements 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!