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
93 views
in Computer by (55.2k points)
closed by

विभिन्न प्रकार के लूपिंग स्टेटमेन्टों का वर्णन कीजिए।

1 Answer

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

for स्टेटमेन्ट- for लूप का प्रयोग किया जाता हैं जब किसी कार्य को पूर्व निर्धारित संख्या के बराबर दोहराया जाता है।

for(initial value;test condition;increment/decrements)
{
statements;
}
while स्टेटमेन्ट
while लूप के अन्दर के स्टेटमेन्ट जब तक कंडिशन सत्य है तब तक संपादित होता है। इसे प्रि-टेस्ट कंडिशन लूप भी कहा जाता है।
while(condition is true)
{
statements;
}
do-while स्टेमेन्ट
do-while लूप को पोस्ट टेस्ट कंडिशन लूप कहा जाता हैं यह लूप कम से कम एक बार तो संपादित होता है।
do
{
statements;
}
while(condition is true);

Related questions

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

...