code is too long
Mostrar comentarios más antiguos
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
Respuesta aceptada
Más respuestas (1)
Nicolò
el 31 de Mzo. de 2013
0 votos
2 comentarios
Image Analyst
el 31 de Mzo. de 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ò
el 31 de Mzo. de 2013
Categorías
Más información sobre Loops and Conditional Statements en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!