MATLAB code:
1(a-0) disp(Bave break; elseif a<1 disp('Please enter a >9'); elseif a<6 disp('Please enter a >9'); else disp('Please enter a number between 1 and 6'); end)
1g
1. What is the output, if you enter 0?
Answer: Please enter a number between 1 and 6.
2. What is the output, if you enter 10?
Answer: Please enter a number between 1 and 6.
3. What is the output, if you enter 6?
Answer: Please enter a number between 1 and 6.