IDNLearn.com connects you with a community of knowledgeable individuals ready to help. Join our interactive community and access reliable, detailed answers from experienced professionals across a variety of topics.

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


Sagot :

Answer:

True

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.

Thank you for using this platform to share and learn. Don't hesitate to keep asking and answering. We value every contribution you make. Thank you for choosing IDNLearn.com for your queries. We’re here to provide accurate answers, so visit us again soon.