Answer:
class Pattern
{
public static void main(String args[])
int a, i,j;
for(a=4;a<=1;a--)
System.out.println("");
for(i=9;i<=5;i++)
for(j=9;j<=i;j=j-2)
System.out.println(j+ " ")
}
System.out.println();
Sorry if the answer is wrong but I think it's correct I don't know nested for loops fully.
Copyright © 2024 EHUB.TIPS team's - All rights reserved.
Answers & Comments
Answer:
class Pattern
{
public static void main(String args[])
{
int a, i,j;
for(a=4;a<=1;a--)
{
System.out.println("");
for(i=9;i<=5;i++)
{
for(j=9;j<=i;j=j-2)
{
System.out.println(j+ " ")
}
System.out.println();
}
}
}
Sorry if the answer is wrong but I think it's correct I don't know nested for loops fully.