Skip to main content
  • IF
    • just if if {}
    • if () {} else {}
    • if () {} else if () {} else {}
  • Switch
    • checks each case and executes
    • break is compulsary
      • else every case runs after the sucess case
    • k = 5;
  • Ternary
    • Evalute a condition and do some thing
    • Condition ? True Action : False Action
    • k = 5 ;