No products in the cart.

what do you mean by looping?what …

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

what do you mean by looping?what is the advantage of using loops?
  • 2 answers

Amizhdhini Manmadhan 5 years, 2 months ago

Loops help in NOT writing the same code again and again, if you want something to happen again and again. Let’s say i want you to count to 100 and i told you that you can add 1 to the previous number and you have to start from 1. Then i ask you what is the next number, you’ll tell me the number +1, then again i asked you, what’s next number, now saying each time that add one number to previous number up to 100 is tiresome. So, a better and easy way you suggested was just repeat this process of adding one to the number until we reach 100. Simply, you did the same thing in one sentence. That’s the power of loop. It can iterate many time the same code so you don’t have to write again and again Hope helps

Priya Priya 5 years, 2 months ago

फंदा ,गांठ ,कुंडली ,रेलवे शाखा
https://examin8.com Test

Related Questions

Code for making time table in computer
  • 1 answers
What is networking give some relevant example
  • 0 answers

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App