import java.util.Scanner;
public class PJJJeden {
public static void main(String[] args) {
for (int i = 0; i <= 2; i++) {
for (int j = 0; j <= 5; j++) {
System.out.print("* ");
} //wyprodukuje 3 liczby ktore beda produkowaly 6 liczb. wyswietli sume
System.out.println(); //za kazdym loopem j przejdzie do kolejnej linijki i
for (int j = 0; j <= 3; j++){
System.out.print(" *");
}
System.out.println();
}
}
}
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter