Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- class Program
- {
- static void Main()
- {
- Console.Write("2--3--5--7--11--13--17--19--23--29-");
- for (int i = 2; i < 10000; i++)
- {
- double a = 1;
- double num = i;
- if (num / num == a)
- {
- if (num / 1 == num)
- {
- if(num % 2 == 0)
- {
- }
- else
- {
- if (num % 3 == 0)
- {
- }
- else
- {
- if (num % 5 == 0)
- {
- }
- else
- {
- if (num % 7 == 0)
- {
- }
- else
- {
- if (num % 11 == 0)
- {
- }
- else
- {
- if (num % 13 == 0)
- {
- }
- else
- {
- if (num % 17 == 0)
- {
- }
- else
- {
- if (num % 19 == 0)
- {
- }
- else
- {
- if (num % 23 == 0)
- {
- }
- else
- {
- if (num % 29 == 0)
- {
- }
- else
- {
- Console.Write("-" + num + "-");
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement