(g) Convert the following Java statement by using do-while loop.
for(int i=10, x=2;i>=2;i-=2)
System.out.println(x++);
Answers
Answered by
0
Answer:
Bruh you have not written the main syntex for system out print
Isted of int use long
Similar questions