- 1

why is loop so important

26th Jul 2016, 2:12 PM
sanil
6 Réponses
+ 2
simple answer is it reduces the programm size and helps to skip repeating statements.
30th Jul 2016, 12:02 PM
Mahantesh AT
Mahantesh AT - avatar
+ 1
things like sorting huge lists or doing amazing amounts of calculations very quickly are what computers are for. This is achievable through loops. If we didn't have loops we wouldn't have calculators that can do statistics or integrals. That's why they're important. Most programs you write will have loops.
27th Jul 2016, 4:55 PM
KaitlynA1501
KaitlynA1501 - avatar
0
Of course loop is very important in program so that the program runs multiple times as per the condition..... Otherwise the program won't run according to the programmer or user....
26th Jul 2016, 2:22 PM
saurabh rana
saurabh rana - avatar
0
It lets the program do stuff repeatedly and if computers are great at something, it's doing stuff repeatedly.
26th Jul 2016, 9:06 PM
Stefan
Stefan - avatar
0
I sometimes have trouble to judge which loops is most useful? I realized I could cut my code in half using a for loop, instead if/else.
30th Jul 2016, 7:29 PM
Punam Bhakta
Punam Bhakta - avatar
- 1
because of that the code will not run
26th Jul 2016, 2:12 PM
sanil