public static void Main()
Console.WriteLine("Enter the max of interval:");
n = int.Parse(Console.ReadLine());
for (int i = 1; i < n; i++)
for (int j = 1; j < n; j++)
Console.WriteLine("The sum of all prime numbers int the given interval is: " + sum);