Saturday 3 November 2012

Conditional Statements

Conditional Statements:

    Conditional Statements are those in which simple statements works according to given condition. If one condition become fail then pointer move to second condition, if that condition fails too then it moves forward toward other conditions until it reach to true condition and print statements against that condition.

  1. If-else Statement.
  2. Nested If-else Statement
  3. Conditional Operator
  4.  Switch Statement

No comments:

Post a Comment