Computer Science, asked by nallarithvika, 5 months ago

Rewrite the given for loop into do-while loop
for( i= 1 ; i<10 ; i++ )
{
System. out. println (i);
}​

Attachments:

Answers

Answered by bhatbhargavi06
2

do

int i =1;

while(i<=10){

System.out.println(i);

i++;

}

If there is any error, please let me know.

hope it helps you

mark as brainliest...

Similar questions