Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
43 views
in Computer by (44.9k points)
closed by

Different types of loops.

1 Answer

+1 vote
by (44.8k points)
selected by
 
Best answer

Loops make our code more manageable and organized. 

Different types of loops are: 

1. While Loop 

The While loop can execute a set of commands till the condition is true

While Loops are also called conditional loops

Once the condition is met then the loop is finished

2. For Loop 

For loop is needed for iterating over a sequence. A for loop executes for a specific number of times.

3. Nested Loop

Any loop in program may contain another loop inside it. When there is a loop inside another loop, it is called a nested loop.

Related questions

0 votes
1 answer
0 votes
1 answer
asked Nov 3, 2023 in Computer by Eshwarojha (44.9k points)
0 votes
1 answer
asked Nov 3, 2023 in Computer by Eshwarojha (44.9k points)
0 votes
1 answer

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...