Matlab - Exercise 11
Given the following loop:
while x < 10
action
end
action
end
- For what values of the variable \( x \) would the action of the loop be skipped entirely?
- If the variable \( x \) is initialized to have the value of 5 before the loop, what would the action have to include in order for this to not be an infinite loop?