Rewrite the given for loop into do-while loop
for( i= 1 ; i<10 ; i++ )
{
System. out. println (i);
}
Attachments:
Answers
Answered by
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