Advertisement
Guest User

Untitled

a guest
Aug 20th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. public class Solution {
  2. public static void main(String[] args) {
  3. for (int i = 1; i <= 100; i++) {
  4. if (i % 2 == 0) {
  5. System.out.println(i);
  6. }
  7. }
  8. }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement