package com.codegym.task.task04.task0438;
/*
Drawing lines
*/
public class Solution {
public static void main(String[] args) throws Exception {
for(int i=0;i<10;i++)
{
System.out.print("8");
}//write your code here
for(int i=0;i<10;i++)
{
System.out.println("8");
}//write your code here
}
}
solution
Under discussion
Comments (2)
- Popular
- New
- Old
You must be signed in to leave a comment
Guadalupe Gagnon
14 January 2019, 16:11
You don't need to copy/paste code, it makes it way harder to read. Just use the slider available:
0
Roman Ivanov
14 January 2019, 14:48
The first symbol in the second loop is printed at the end of the horizontal line, so your horisontal line consits of 11 elements, but 10 is necessary.
0