I tried to display in different way still giving same error.
package com.codegym.task.task04.task0438;
/*
Drawing lines
*/
public class Solution {
public static void main(String[] args) throws Exception {
//write your code here
// int i;
for(int i = 1;i<=10;i++)
{
System.out.print("8");
}
System.out.println(" ");
for (int j=2;j<=10;j++)
{
System.out.println("8");
}
}
}