using System;
public class Program
{
public static void Main()
int divisor;
for(int i=1; i<=1000; i++)
divisor=0;
for(int j=1;j<=i;j++)
if (i%j==0)
divisor++;
if (divisor==2)
Console.WriteLine("El entero {0} es primo.",i);
}