9.4 CONDITIONAL STATEMENTS

9.4 চৰ্তসাপেক্ষ বিবৃতি

Till now we have written programs where every state in The main () function exeautes. They are ececuted in the order they appear in the code and they are exected only once. But many times, the oroblem we are given to solve is not they simple.

এতিয়ালৈকে আমি এনে কাৰ্যসূচী লিখিছোঁ য’ত মুখ্য () প্ৰতিখন ৰাজ্যই কাৰ্যসম্পাদন কৰে। তেওঁলোকক কোডত দেখুওৱা ক্ৰমত সংক্ষিপ্তাহিত কৰা হয় আৰু তেওঁলোকক কেৱল এবাৰহে কাৰ্যকৰী কৰা হয়। কিন্তু বহুসময়ত, আমাক সমাধান কৰিবলৈ দিয়া অৰোবলেমটো সৰল নহয়।

The solution of the problem may require to execute only a set of statements depending on some logical test. this is called branching moreover a stement might require to be executed more that once This is called loping .We now see addressing such scenarios in C programing.

সমস্যাটোৰ সমাধানৰ বাবে কিছুমান যৌক্তিক পৰীক্ষাৰ ওপৰত নিৰ্ভৰ কৰি কেৱল বিবৃতিৰ এটা সংহতি কাৰ্যকৰী কৰিব লাগিব পাৰে। ইয়াক শাখা বুলি কোৱা হয়, তাৰোপৰি ষ্টেমেণ্ট এটা অধিক কাৰ্যকৰী কৰাৰ প্ৰয়োজন হ’ব পাৰে যিটো এবাৰ ইয়াক লোপিং বুলি কোৱা হয়। আমি এতিয়া চি প্ৰগ্ৰামিংত এনে পৰিস্থিতিবোৰ সম্বোধন কৰা দেখিছোঁ।