public static void Main()
Console.WriteLine("Enter an integer:");
int myInt = Convert.ToInt32(Console.ReadLine());
bool isLessThan10 = myInt < 10;
bool isBetween0And5 = (myInt >= 0) && (myInt <= 5);
bool isBetween4And8 = (myInt >= 4) && (myInt <= 8);
Console.WriteLine("Integer less than 10? {0}", isLessThan10);
Console.WriteLine("=========================");
Console.WriteLine("Integer {0} between 0 and 5? {1}", myInt, isBetween0And5);
Console.WriteLine("Integer {0} between 4 and 8? {1}", myInt, isBetween4And8);
Console.WriteLine("Does either of these two (0~3 or 4~8) true? {0}", (isBetween0And5 || isBetween4And8));