R While Loop
R while loop is a type of loop that is used to iterate a block of code multiple numbers of times to control the flow of statements. The while loop terminates when the value of the Boolean expression will be false. In a while loop, first of all, conditions will be checked and then the … Read more