Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2018
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. public class NestedLoop
  2. {
  3. public static void main(String[] args)
  4. {
  5. for(int i = 0; i <= 3; i++)
  6. {
  7. for(int j = 0; j <= 2; j++)
  8. {
  9. System.out.println(i + " " + j);
  10. }
  11. System.out.println("----------");
  12. }
  13. }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement