public static void Main()
Console.WriteLine("Enter Input");
int input = Convert.ToInt16(Console.ReadLine());
Console.WriteLine("Not greater than 1");
input = Convert.ToInt16(Console.ReadLine());
for (int i = 2; i < input; i++)
if (prime == true && input!=1)
Console.WriteLine("Prime number");
Console.WriteLine("Not Prime");
Console.WriteLine("Do you want to repeat? Y/N");
string response = Console.ReadLine();