Computer Science, asked by kashishdoll9paz8ai, 1 year ago

a java program to print different patterns using for loop nested
*****
****
***
**
*


Answers

Answered by hargovind19pb3g71
1
Loop
Print 'abc'
Until

kashishdoll9paz8ai: plz dont give foolish answers
Answered by vandanapandey9p4plj6
0

public class pattern {

public static void main( String args[]) {

int i,j;

for(i=5;i>=1;i--)

{

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

{

System.out.print(*);

}

System.out.println();

}

}

}



Similar questions