Computer Science, asked by mishajain100, 9 months ago

How to print:
10
8 10
6 8 10
4 6 8 10
2 4 6 8 10
In Java?

Answers

Answered by cbss20050641
1

Answer:

explanation

Explanation:

class Series

{

void main()

{

for(int i=10;i>=2;i=i-2)

{

for(int j=i;j<=10;j++)

{

System.out.print(j+" ");

}

System.out.println();

}

}

}

Similar questions