Computer Science, asked by shiwangi30, 1 year ago

pattern

1
21
321
4321
54321​

Answers

Answered by Anonymous
4

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

{

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

System.out.println(j);

}

System.out.println();

This is only the logic


MusicViking: yea
MusicViking: yeah
MusicViking: ty!
Maxcaulfield: thankyou
Similar questions