Do while to for conversion
ICSE2017
Problem Statement - while to for conversion
Convert the following while loop to the corresponding for loop :
int m = 5, n = 10;
while (n>=1)
{
System.out.println(m*n);
n- -;
}
Solution
sunmitra| Created: 31-Mar-2018 | Updated: 16-Apr-2019|ICSE2016