print ICSE pattern IN JAVA
Answers
Answered by
1
1
22
333
4444
55555
Java Program :
public class pattern_1
{
public static void main()
{
int i,j;
for(i=1;i<=5;i++)
{
for(j=i;j>=1;j--)
{
System.out.print(i);
}
System.out.print("\n");
}
}
}
Output :
1
22
333
4444
55555
Similar questions
Math,
6 months ago
English,
6 months ago
Science,
6 months ago
Physics,
1 year ago
Psychology,
1 year ago
Psychology,
1 year ago