code is too long
Ältere Kommentare anzeigen
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
Akzeptierte Antwort
Weitere Antworten (1)
Nicolò
am 31 Mär. 2013
0 Stimmen
2 Kommentare
Image Analyst
am 31 Mär. 2013
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ò
am 31 Mär. 2013
Kategorien
Mehr zu Loops and Conditional Statements finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!