When i Run program,it is displaying 10 lines of 8's each vertically and horizontally.Still giving me error as
"The program should display a vertical line of 10 eights. "
Please help.
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 = 1;i<=10;i++)
{
for(int j = 1;j<=10;j++)
{
System.out.print("8");
}
System.out.println(" ");
}
}
}