Advertisement
Spocoman

01. Rectangle of 10 x 10 Stars

Aug 31st, 2024
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.27 KB | None | 0 0
  1. public class 01. RectangleOfStars {
  2.     public static void main(String[] args) {
  3.         for (int i = 0; i < 10; i++) {
  4.             for (int j = 0; j < 10; j++) {
  5.                 System.out.print('*');
  6.             }
  7.             System.out.print('\n');
  8.         }
  9.     }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement