Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class RectangleOf10x10Stars {
- public static void main(String[] args) {
- int countRow = 10;
- int countCol = 10;
- for (int row = 1; row <= countRow; row++) {
- for (int col = 1; col <= countCol; col++) {
- System.out.print("*");
- }
- System.out.println();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement