Control statements in C Programming Language - tccicomputercoaching.com

Page 1

Control statements in C Programming Language tccicomputercoaching.com Some time we need to take decision depending on some condition. Result will be true or false. If condition fulfil then result is true otherwise false.

For Example, student is Pass or Fail is dependent on their Percentage. Suppose Criteria is 50 %. So, student getting Percentage above 50 % then he or she is Pass otherwise fail. There are 3 types of control statements: Let us see one by one. 1. if -else if(condn) { st.1; } else { st.2;


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.