𝓯𝓻𝓮𝓪𝓴𝔂 bb6
❔ how do i include a range of numbers into a reply like 1-1000 for my thing
string correct = "well done. ";
string wrong = "nope.try again. ";
Console.WriteLine("Hello.");
Console.Write("What is 2 + 2?");
string reply = Console.ReadLine();
if (reply == "4")
Console.Write(correct);
else if (reply == "5")
Console.Write(wrong); i want it to be able to be so if i type in "6" or "52" or whatever i want it to say "nope try again"
39 replies