C# Assignment help
Agh, okies I'm trying to loop my if statement, which loop should I use?
if (Tnumber > 25)
{
Console.Write("Invalid input!\n\nPlease enter a table number between 1 and 25: ");
Tnumber = Int32.Parse(Console.ReadLine());
}
Basically what the objective is, that if the user keeps entering a value higher than 25 it should continue to show that message until such time that a value below 25 is entered.. also whilst I'm asking... Can you also tell me how do I add another clause so that anything but the numbers between 1 and 25 also returns the same error message.
Thanks =)