Computer Science, asked by srividyaavuthu2020, 6 months ago

Which programming construct is used to repeat a block of code when the number of iterations is
known in advance?​

Answers

Answered by Anonymous
9

The for loop is used to repeat a block of code when the number of iterations is  known in advance

  • The specific set of statements continuously executed is referred to as a continuous loop. There are two types of prepared statements namely for and while.
  • An explicit loop counter is every time instantly declared by the header, typically allowing the body to correctly identify which modern iteration is being performed.
  • For-loops are employed when, before setting into the loop, the specific count of iterations is usually specified.  

Answered by sahithyaparlapalli
10

Answer:

for loop is correct or worng

Similar questions