what instruction would I use if I wanted a loop to execute 10 times.
Answers
Answered by
4
public class loop
{
int i,j;
public void method()
{
for (i=1;i<=10;i++)
{
System.out.println("The loop which you want to print");
}
}
}
Explanation:
Similar questions