5) WAP to print the pattern
10 8 6 4 2
10 8 6 4
10 8 6
10 8 10 print the stamtent in jav prg using for .. plzz answer it
Answers
Answered by
0
Answer:
I don't know the answer till now and I don't know the answer any way
Answered by
0
Answer:
public class pattern
{
public static void main(String args[])
{
for(int i = 2;i <= 10;i+=2)
{
for(int j = 10;j >= i;j-=2)
System.out.print(j + " ");
System.out.println();
}
}
}
Explanation:
Similar questions