0

Help with c#

help me please. you need to write a program that will guess the number entered by the user. from 0 to 100

17th Mar 2018, 6:48 PM
Edgar
1 Answer
+ 11
1)generate a random number from 0 to 100 ... takes its value in a variable 2)using == operator ... compare it with number entered [uding if()] 3)if true then print "correctly guessed" , else "try again"
17th Mar 2018, 7:06 PM
Gaurav Agrawal
Gaurav Agrawal - avatar