- 1
Anyone knows what is the code for Guessing game ?
5 Antworten
+ 1
public class Program
{
public static void Main()
{
while(true){
System.Console.WriteLine("Guess?");
System.Console.WriteLine(System.Console.ReadLine() + " Was incorrect.");
}
}
}
0
@John Smith oh I see how it is....
0
@yinhaodragon7 He should have provided a better specification anything more than that is scope creep.
0
What do you mean?
0
I mean the game is if you pick 20 than it's correct but if any other number it says it's too high or too low. The numbers between 1 and 30