527,937 views
13 votes
13 votes
The for loop is a count-controlled loop and is used to execute a loop body a predictable number of times.

A. True
B. False

User Tomas Mulder
by
3.4k points

2 Answers

13 votes
13 votes

Answer:

true

Step-by-step explanation:

have a nice day and hope it helps

User Shirene
by
2.8k points
24 votes
24 votes

Answer:

True

Step-by-step explanation:

For loops:

//This is Java code

for (int i = 0; i < 10; i++)

{

System.out.println("hi");

}

They let you specify the number of times the code inside the loop will execute. Above, it would print "hi" 10 times.

User Turix
by
2.9k points