Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (long x = 1; x < 1000000000; x++) {
- bool dividable = true;
- for (int y = 20; y > 0; y--) {
- if (x % y != 0) {
- dividable = false;
- }
- }
- if (dividable == true) {
- Console.WriteLine (x);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement