Joseph Daniel P. Soriano
       FM10205




     http://emglobiotraining.com/
     In programming,
             a switch, case, select or inspect stateme
             nt is a type of selection control
             mechanism that exists in
             most imperative
             programminglanguages such
             as Pascal, Ada, C/C++, C#, Java, and so
             on. It is also included in several other
             types of languages. Its purpose is to
             allow the value of a variable or
             expression to control the flow of
             program execution via a multiway
             branch (or "goto", one of several labels).
             The main reasons for using a switch
             include improving clarity, by reducing
             otherwise repetitive coding, and (if
             theheuristics permit) also offering the
             potential for faster execution through
             easiercompiler optimization in many
             cases.


http://emglobiotraining.com/
     A loop is a
                 programming language
                 construction that
                 allows the programmer
                 to instruct the
                 computer to perform a
                 certain instruction, or
                 set of instructions over
                 and over again.
           




http://emglobiotraining.com/
   Prof. Erwin Globio
   http://eglobiotraining.com.




                  http://emglobiotraining.com/
   http://www.slideshare.net/seeeephie




                  http://emglobiotraining.com/

Switch case and looping statements

  • 1.
    Joseph Daniel P.Soriano FM10205 http://emglobiotraining.com/
  • 2.
    In programming, a switch, case, select or inspect stateme nt is a type of selection control mechanism that exists in most imperative programminglanguages such as Pascal, Ada, C/C++, C#, Java, and so on. It is also included in several other types of languages. Its purpose is to allow the value of a variable or expression to control the flow of program execution via a multiway branch (or "goto", one of several labels). The main reasons for using a switch include improving clarity, by reducing otherwise repetitive coding, and (if theheuristics permit) also offering the potential for faster execution through easiercompiler optimization in many cases. http://emglobiotraining.com/
  • 3.
    A loop is a programming language construction that allows the programmer to instruct the computer to perform a certain instruction, or set of instructions over and over again.  http://emglobiotraining.com/
  • 4.
    Prof. Erwin Globio  http://eglobiotraining.com. http://emglobiotraining.com/
  • 5.
    http://www.slideshare.net/seeeephie http://emglobiotraining.com/