The for loop executes a block of code as long as a specified condition is true. This loop is especially useful when you know exactly how many times you want the code to run. The while loop executes a ...
(A)- Initialization Part: It is the startig point of a loop (B)- Limit Part: It is the final point of a loop (C)- Increment Or Decrement Part: It is the direction of loop from Bottom to top or top to ...