Decision making

Decision making is about deciding the order of execution of statements based on certain conditions or repeat a group of statements until certain specified conditions are met. C language handles decision-making by supporting the following statements,
  • if statement
  • switch statement
  • conditional operator statement
  • goto statement
Two - way selection: if - else, null else, nested-if, examples, 

Multi- way selection: switch, else-if,

No comments:

Post a Comment