Computer Science, asked by dimple0827, 4 months ago

(b
99999
77777
55555
33333
11111
write a program in java to display the following pattern​

Answers

Answered by ashwina9180vps
1

Answer:

int n=9;

for(int i=1;i<=5;i++)

{

for(int j=1;j<=5;j++)

System.out.print(n);

System.out.println();

n=n-2;

}

Explanation:

Can you please mark me as brainliest and thanks me

Similar questions