Computer Science, asked by DANIBOI152, 3 months ago

Convert the following programs using keyword while
class simple_loop
{
public static void main()
{
int i;
for(i=1;i<=20;i++)
{
System.out.println(i);
}
}
}

Answers

Answered by ashokumar7000
0

Answer:

20

Explanation:

as this will run till 20 so the answer is 20

Similar questions