+ 2

What is looping?

12th Feb 2018, 5:11 PM
Puneet Bhardwaj
Puneet Bhardwaj - avatar
5 odpowiedzi
+ 3
whenever we want to same operation until it satisfy some condition then we use loop
12th Feb 2018, 6:17 PM
ankit bihani
ankit bihani - avatar
+ 2
Looping is so you can make multiple conditions tested quickly and with less code some examples of loops are for or if or while
12th Feb 2018, 5:17 PM
Ole113
Ole113 - avatar
+ 2
If I am not horribly mistaken and looping is something strange in C++ : We use looping to go over the same code again and again so we don't have to press "insert" so often cuz we are lazy! Edit: So in a loop-block, we go from top to bottom and execute the code in it. And depending on the type of loop we stop at some point doing that and go on with code after our block.
12th Feb 2018, 9:23 PM
D B
D B - avatar
+ 1
Looping is playing over and over until you tell it to stop
13th Feb 2018, 12:10 AM
DCA
DCA - avatar
+ 1
@Ole113 No! if-Blocks are no loops!
14th Feb 2018, 11:44 AM
D B
D B - avatar