Advertisement
Mrf0cus

Quadrado

Oct 21st, 2016
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.20 KB | None | 0 0
  1.         Scanner leia = new Scanner(System.in);
  2.        
  3.        
  4.         int t=leia.nextInt();
  5.        
  6.         for (int i=0;i<t;i++){
  7.             for(int o=0;o<t;o++){
  8.                 System.out.print("* ");
  9.             }
  10.             System.out.println("");
  11.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement