Advertisement
desislava_topuzakova

01. Rectangle of 10 x 10 Stars

May 27th, 2018
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.29 KB | None | 0 0
  1. public class Rectangle10x10 {
  2.     public static void main(String[] args) {
  3.  
  4.         for (int row = 1; row <= 10 ; row++) {
  5.             for (int col = 1; col <= 10 ; col++) {
  6.                 System.out.print("*");            
  7.             }
  8.             System.out.println();
  9.         }
  10.  
  11.     }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement