code is too long
이전 댓글 표시
a = 4;
b = input ('2+2=? ')
if b == a
'ok'
else
b = input ('retry ')
if b == a
'ok'
else
b = input ('retry ')
if b == a
'ok'
else 'NOK'
end
end
end
채택된 답변
추가 답변 (1개)
Nicolò
2013년 3월 31일
0 개 추천
댓글 수: 2
Image Analyst
2013년 3월 31일
This is not an answer to your question. It should have been a comment to my answer so I'll put the response there.
Nicolò
2013년 3월 31일
카테고리
도움말 센터 및 File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!