Yusuf Azzam
Followers: 0 Following: 0
Estadísticas
CLASIFICACIÓN
131.750
of 290.091
REPUTACIÓN
0
CONTRIBUCIONES
1 Pregunta
1 Respuesta
ACEPTACIÓN DE RESPUESTAS
100.0%
VOTOS RECIBIDOS
0
CLASIFICACIÓN
of 19.642
REPUTACIÓN
N/A
EVALUACIÓN MEDIA
0.00
CONTRIBUCIONES
0 Archivos
DESCARGAS
0
ALL TIME DESCARGAS
0
CLASIFICACIÓN
of 144.532
CONTRIBUCIONES
0 Problemas
0 Soluciones
PUNTUACIÓN
0
NÚMERO DE INSIGNIAS
0
CONTRIBUCIONES
0 Publicaciones
CONTRIBUCIONES
0 Público Canales
EVALUACIÓN MEDIA
CONTRIBUCIONES
0 Temas destacados
MEDIA DE ME GUSTA
Feeds
A code will prompt the user to try to guess my favourite colour and after 3 goes say 3 trials over, but i want to display a message after each incorrect attempt saying "Incorrect try again". How do I do this? (New user)
I've got it! After 'disp('three trials over')' I add: else disp('incorrect')
alrededor de 5 años hace | 0
| aceptada
Pregunta
A code will prompt the user to try to guess my favourite colour and after 3 goes say 3 trials over, but i want to display a message after each incorrect attempt saying "Incorrect try again". How do I do this? (New user)
This is code i have got so far: fav = 'red' ; str = 0 ; count = 0 ; while str == 0 count = count+1 ; prompt = ...
alrededor de 5 años hace | 2 respuestas | 0