Advertisement
Guest User

Untitled

a guest
Oct 25th, 2014
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. for (long x = 1; x < 1000000000; x++) {
  2.  
  3. bool dividable = true;
  4.  
  5. for (int y = 20; y > 0; y--) {
  6. if (x % y != 0) {
  7. dividable = false;
  8. }
  9.  
  10. }
  11. if (dividable == true) {
  12. Console.WriteLine (x);
  13. }
  14. }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement