- Loop is used to execute the block of code several times according to the condition given in the loop.
- It means it executes the same code multiple times so it saves code and also helps to traverse the elements of an array.
Shathana. S.R. Answered question May 27, 2023
