Computer Science, asked by devilboy99, 11 months ago

java patern to print this pattern​

Attachments:

Answers

Answered by thewakebakecake
0

Answer:

class pattern{

public static void main(String args []){

System.out.println("              x                                x");

System.out.println("        x          x                     x          x");

System.out.println("   x                     x          x                      x");

System.out.println("x                              x                                x");

}

}

Explanation:

System.out.println("") outputs everything you put in the brackets in the "".

Similar questions