Question: Please assist on the multiple choice qns above, explaination will be best thanks alot How does one differentiate between a definite and an indefinite loop?

 Please assist on the multiple choice qns above, explaination will be

Please assist on the multiple choice qns above, explaination will be best thanks alot

How does one differentiate between a definite and an indefinite loop? A definite loop will always terminate after some time but an indefinite loop does not terminate. A definite loop will execute for fixed number of times, determined before the loop is entered but it is not known the number of repetition an indefinite loop will execute even while the indefinite loop is executing. A definite loop uses the keyword while whereas an indefinite loop uses the keyword for A definite loop does not use the keywords break and continue but an indefinite loop can use them

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!