Advertisement
IanO-B

Untitled

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