Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (int num = -10; num < 40; num++) {
- int mod_num = num % 2;
- if (mod_num != 0) {
- System.out.println(num);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement