a java program to print different patterns using for loop nested
*****
****
***
**
*
Answers
Answered by
1
Loop
Print 'abc'
Until
Print 'abc'
Until
kashishdoll9paz8ai:
plz dont give foolish answers
Answered by
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
English,
8 months ago
Math,
8 months ago
Math,
1 year ago
Math,
1 year ago
Business Studies,
1 year ago