Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (int rows = 0; rows < prime.Count; rows++)
- {
- for (int coll = 1; coll <= prime[rows]; coll++)
- {
- if (prime.Contains(coll))
- {
- Console.Write(1);
- continue;
- }
- Console.Write(0);
- }
- Console.WriteLine();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement