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.

Control Statements - Punjabi

596 visits



Outline:

Ruby ਵਿੱਚ ਕੰਟਰੋਲ ਸਟੇਟਮੈਂਟ ਕੰਟਰੋਲ ਸਟੇਟਮੈਂਟਸ ਕੀ ਹੁੰਦੀਆਂ ਹਨ ਹੇਠ ਲਿਖੇ ਦੇ ਲਈ ਸਿੰਟੇਕਸ if ਸਟੇਟਮੈਂਟ if..else ਸਟੇਟਮੈਂਟ if..elsif ਸਟੇਟਮੈਂਟ ਇਸ ‘ਤੇ ਉਦਾਹਰਣ ਟਰਨਰੀ ਓਪਰੇਟਰ ਕੇਸ ਸਟੇਟਮੈਂਟ ਦੇ ਲਈ ਸਿੰਟੇਕਸ ਅਤੇ ਇਸ ‘ਤੇ ਉਦਾਹਰਣ if..elsif ਅਤੇ case ਸਟੇਟਮੈਂਟ ਦੇ ਵਿੱਚ ਤੁਲਨਾ