Computer Science, asked by alwinmathewpadoxgcm1, 5 months ago

Rewrite the following loop using for loop

int m=1;

while(m<5)

{

System.out.print(“*”);

m++;

}

Answer in Icse java​

Answers

Answered by guptaanya06
1

for(int m=1;m<5;m++)

System.out.println("*");

Similar questions