please can someone explain to me why that tries++ stuff is necessary, i would really to its function?
who needs 50 tries to guess a number between 1-10?
this doesn’t make any sense to me.
Sorry, I just put “and” instead of “&&”
It also doesn’t matter if I did not put the colon and the space in “Wrong guess, try again”.
Your while expression is illegal. That would never work in any C style language. You need to replace and with the appropriate Logical operator.
Logical operators ( !, &&, || )