wap to print the following pattern
Attachments:
Answers
Answered by
55
Here is your answer.
class x
{
static void main()
{
for(int i=1;i<=3;i++)
{
for(int j=i;j>=1;j--)
System.out.print(j+ " ");
System.out.println();
}
}
Similar questions