Yusuf Azzam
2019년부터 활동
Followers: 0 Following: 0
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')
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')
5년 초과 전 | 0
| 수락됨
질문
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 = ...
5년 초과 전 | 답변 수: 2 | 0