package com.codegym.task.task04.task0438;
/*
Drawing lines
*/
public class Solution {
public static void main(String[] args) throws Exception {
//write your code here
for(int i=0; i<10; i++){
for(int j=1; j<=10; j++){
System.out.print("8");
}
System.out.println();
}
}
}
Help needed
Under discussion
Comments (2)
- Popular
- New
- Old
You must be signed in to leave a comment
Martin Adamec
10 November 2019, 19:25
Your output should be:
8888888888
8
8
8
8
8
8
8
8
8
8
not:
8888888888
8888888888
8888888888
8888888888
8888888888
8888888888
8888888888
8888888888
8888888888
8888888888
0
Antonia
29 July 2019, 07:41
for (int j=0; j<=10; j++){
System.out.print(8);
}for (int i=0; i<10; i++){
System.out.println(8);
}
0