using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MidtermExam
{
class Program
static void Main(string[] args)
bool isTrue = true;
Console.WriteLine("Output : ");
for (int i = 2; i <= 100; i++)
for ( int j = 2; i <= 100; j++)
if (i != j && i % j == 0)
isTrue = false;
break;
}
if (isTrue)
Console.Write("\t" + i);
isTrue = true;
Console.ReadKey();