C# Assignment help
if (Tnumber > 25)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.
{
Console.Write("Invalid input!\n\nPlease enter a table number between 1 and 25: ");
Tnumber = Int32.Parse(Console.ReadLine());
}
Thanks =)