explain 'For loop ' & what is difference between finite or infinite loop
Answers
Answered by
9
What kind of loop and a while loop. Please be more specific if you want any chance of the question answered.
answ2. But in general, a
For
loop will have a numeric value attached, such as For 1 to 10, ..
Whereas a
While
loop will usually be dependent on some condition, such as While t > 99, Do.. ; or While clock is LT 10.00, Do ..
2 nd answer
A function is set of instruction that perform some specific operation . There are two type of loops one is finite and other is infinite. A finite loop is one that end after finite runs and an infinite loop is one that never ends itself.
answ2. But in general, a
For
loop will have a numeric value attached, such as For 1 to 10, ..
Whereas a
While
loop will usually be dependent on some condition, such as While t > 99, Do.. ; or While clock is LT 10.00, Do ..
2 nd answer
A function is set of instruction that perform some specific operation . There are two type of loops one is finite and other is infinite. A finite loop is one that end after finite runs and an infinite loop is one that never ends itself.
Answered by
4
For loop is mostly used in q basic language of computer and it is used to. Do a task rpeted ly infinite loop is that which is use to repeat for a unlimited time and finite loop is use for limit task
Similar questions
Science,
7 months ago
Social Sciences,
7 months ago
English,
7 months ago
Math,
1 year ago
Biology,
1 year ago
Computer Science,
1 year ago