Computer Science
Related Questions
Assertion (A): The for loop is described as finite loop and while loop is described as unknown or indefinite iterative construct.
Reasoning (R): You cannot use while loop for menu-driven programs.
- Both A and R are true and R is the correct explanation of A.
- Both A and R are true but R is not the correct explanation of A.
- A is true but R is false.
- A is false but R is true.
What are compound statements?
What is nested loop? Explain with example.
What is the significance of updating loop control variable in while statements?