6.7k views
20 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 Boanerges
by
8.0k points

2 Answers

2 votes

Answer:

true

Step-by-step explanation:

have a nice day and hope it helps

User Faran
by
7.8k points
8 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 Candace
by
8.2k points

No related questions found