Computer Science, asked by moupiadey123, 7 months ago

convert the following do while into for loop x =2,y=8 do { x++ y=+2 } System .out.prtintln x+"," +y while(x <20) ​

Answers

Answered by manaswini2948
2

Explanation:

int x=2, y=8;

for (x=1; x<20; x++)

{

y=+2;

}

System.out.println (x+","+y)

Similar questions