Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Main {
- public static void main(String[] args) {
- String string = "S";
- int a = 0;
- int b = 0;
- while (b < 10) {
- while (a < 10) {
- System.out.print(string);
- a++;
- }
- System.out.println();
- b++;
- a = 0;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement