Computer Science, asked by klohita23, 7 months ago

Write a program to print the following
Pattern
6 6 6 6 6 6
5 5 5 5 5
4 4 4 4
3 3 3
2 2
1​

Answers

Answered by divitv2007
0

Answer:

look below

Explanation:

public class test

{ public static void main()

{ for(int i=6;i>=I;i--)

{for (j=1;j<=i;j++)

System.out.print(j)

}

System.out.println( )

}

}

}

Similar questions