Hi i am looking to create a peice of matlab code that asks the user for a letter input and sees whether it is in the wor
Posted: Wed Apr 27, 2022 5:04 pm
Hi i am looking to create a peice of matlab code that asks the
user for a letter input and sees whether it is in the word
vector. If correct it will displays its posistion in the vector to
the user and allows them another guess. If incorrect it will inform
user the number of strikes left and allows them another guess. I'm
unsure whether a function would be best to do this or maybe a while
or for loop.
user for a letter input and sees whether it is in the word
vector. If correct it will displays its posistion in the vector to
the user and allows them another guess. If incorrect it will inform
user the number of strikes left and allows them another guess. I'm
unsure whether a function would be best to do this or maybe a while
or for loop.