0

How can I make a number guess game with C #?!what this code ?  help please

23rd Oct 2019, 8:48 PM
kosar nasiri
kosar nasiri - avatar
6 Réponses
0
We can't tell code to you but we can give hint. You can use random function to achieve this. If your number will be equal to Random number then you win.
23rd Oct 2019, 8:52 PM
A͢J
A͢J - avatar
+ 2
kosar nasiri Take a number from input. Assign the Random Number to a variable and compare this number with your input value. If both are same then give message "win".
23rd Oct 2019, 9:08 PM
A͢J
A͢J - avatar
+ 1
kosar nasiri What is forms application? I gave you hint. I think it's enough for you.
23rd Oct 2019, 9:46 PM
A͢J
A͢J - avatar
0
I know, but I don't know how to write a conditional for it
23rd Oct 2019, 9:03 PM
kosar nasiri
kosar nasiri - avatar
0
That's right, but in the forms application Isn't that different?
23rd Oct 2019, 9:14 PM
kosar nasiri
kosar nasiri - avatar
0
ok thanks
24th Oct 2019, 6:49 AM
kosar nasiri
kosar nasiri - avatar