print this pattern. 54321 5432 543 54 51
Ankitasara:
I am not understanding your question
{
public static void main( String args[])
{
int a, b;
for(a=1; a<=5; a++)
{
for(b=5; b>=a; b--)
{
System.out.print(b);
}
System.out.println();
} }
}
Answers
Answered by
2
if you have printer then print it
Answered by
4
Following are the programs to print the pattern :
Attachments:
Similar questions