1.

Write this in while loop and do while loop :for ( i= 0; i

Answer»

While loop-

int i = 0;

while ( i<10)

{

System.out.println(" HELLO");

i++;

}

Do While Loop-

int i = 0;

do {

System.out.println(" hello");

i++;

}while ( i<10)

Mark Me as the brainliest and Follow Me 💗?



Discussion

No Comment Found