Computer Science, asked by shivangisaxena20, 4 days ago

WAP in java to print the following pattern​

Attachments:

Answers

Answered by samarthkrv
0

Answer:

public class Main

{

public static void main(String[] args) {

 for(int i = 10; i >= 0; i--){

     for(int j = i; j >= 0; j--){

         System.out.print(j + " ");

     }

 }

 System.out.println();

}

}

Explanation:

Similar questions