2 things to point out. A for loop is used when the the number of iterations is fixed. If the number of iterations is not fixed then use the while loop and the 2 things is a while loop will execute the code block at least one time before checking if the condition is true.
Nice videohttps://youtu.be/NxCuQZR_C7c
2 things to point out. A for loop is used when the the number of iterations is fixed. If the number of iterations is not fixed then use the while loop and the 2 things is a while loop will execute the code block at least one time before checking if the condition is true.
it was hard to watch. The video isn't in focus