Unlock the Power of Open Source! The " Linux New " SWAYAM Plus Course is live now and about 2,500 learners have already registered for it.

If you are a registered learner, the forum page is now active. Visit the page and get all your questions answered.

while do while loops - Punjabi

1669 visits



Outline:

1 . while ਲੂਪ while ਲੂਪ ਕੋਡ ਦੇ ਬਲਾਕ ਨੂੰ ਚਲਾਉਂਦਾ ਹੈ , ਜਦੋਂ ਕੰਡਿਸ਼ਨ true ਹੁੰਦੀ ਹੈ । 2 . do - while ਲੂਪ do - while ਲੂਪ ਹਮੇਸ਼ਾ ਘੱਟ ਤੋਂ ਘੱਟ ਇੱਕ ਵਾਰ ਕੋਡ ਦੇ ਭਾਗ ਨੂੰ ਚਲਾਵੇਗਾ । ਇਹ ਫਿਰ ਕੰਡਿਸ਼ਨ ਚੈੱਕ ਕਰੇਗਾ ਅਤੇ ਲੂਪ ਨੂੰ ਦੋਹਰਾਵੇਗਾ, ਜਦੋਂ ਕੰਡਿਸ਼ਨ true ਹੁੰਦੀ ਹੈ ।