Java 3

Rewrite the following Java fragment using while instead of do—while. Pay special attention to the first time through the loop. Assume that i and j have been
already been declared as variables of type int and initialized to unknown values.
do
{
i++;
++j;
System.out.println( i * j );
}
while ((i < 10) && (j*j != 25));Attachments