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!