I am writing a piece of code requesting the user to submit 6 integer numbers in the range [1,59]. I want to make it so that if the user submits an value outside the range or a non integer, the code breaks and displays an error message saying invalid numbers chosen.
댓글 수: 3
이 댓글에 대한 바로 가기 링크
https://kr.mathworks.com/matlabcentral/answers/506048-how-can-i-limit-a-set-of-input-data-6-values-to-a-min-and-max-point-and-as-an-integer#comment_798639
이 댓글에 대한 바로 가기 링크
https://kr.mathworks.com/matlabcentral/answers/506048-how-can-i-limit-a-set-of-input-data-6-values-to-a-min-and-max-point-and-as-an-integer#comment_798639
이 댓글에 대한 바로 가기 링크
https://kr.mathworks.com/matlabcentral/answers/506048-how-can-i-limit-a-set-of-input-data-6-values-to-a-min-and-max-point-and-as-an-integer#comment_798641
이 댓글에 대한 바로 가기 링크
https://kr.mathworks.com/matlabcentral/answers/506048-how-can-i-limit-a-set-of-input-data-6-values-to-a-min-and-max-point-and-as-an-integer#comment_798641
이 댓글에 대한 바로 가기 링크
https://kr.mathworks.com/matlabcentral/answers/506048-how-can-i-limit-a-set-of-input-data-6-values-to-a-min-and-max-point-and-as-an-integer#comment_798883
이 댓글에 대한 바로 가기 링크
https://kr.mathworks.com/matlabcentral/answers/506048-how-can-i-limit-a-set-of-input-data-6-values-to-a-min-and-max-point-and-as-an-integer#comment_798883
댓글을 달려면 로그인하십시오.