SlideShare a Scribd company logo
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/

More Related Content

PPTX
Programming in c
PPTX
Chapter 2.3
PPTX
Compilers Computer Program | Computer Science
PPTX
Geografía.pptx
PPT
Chapter 05 looping
PPSX
C lecture 3 control statements slideshare
PPTX
Looping statements in C
Programming in c
Chapter 2.3
Compilers Computer Program | Computer Science
Geografía.pptx
Chapter 05 looping
C lecture 3 control statements slideshare
Looping statements in C

Similar to Switch case and looping statements (20)

PPTX
Fundamentals of programming
PPTX
Fundamentals of programming final santos
PPTX
Fundamentalsofprogrammingfinal 121011003536-phpapp02
PPTX
Fundamentals of programming final
PPTX
Debuggers in system software
PPTX
Margareth lota
PPTX
Switch case and looping statement
PPTX
Mark asoi ppt
PPTX
PPTX
Computer Programming
PPTX
How to debugging
PPTX
PowerShell Zero To Hero Workshop!
PPTX
Switch case looping
PDF
TotalView ReplayEngine Tech Audit
DOCX
Training 8051Report
PDF
ALPHA Script - Presentation
PPTX
Deguzmanpresentationprogramming
DOC
ICT-DBA4 -05-0811-Apply-Object-Oriented-Programming-Language-Skills.doc
PPT
Lecture 5 - Structured Programming Language
PPTX
Looping and switch cases
Fundamentals of programming
Fundamentals of programming final santos
Fundamentalsofprogrammingfinal 121011003536-phpapp02
Fundamentals of programming final
Debuggers in system software
Margareth lota
Switch case and looping statement
Mark asoi ppt
Computer Programming
How to debugging
PowerShell Zero To Hero Workshop!
Switch case looping
TotalView ReplayEngine Tech Audit
Training 8051Report
ALPHA Script - Presentation
Deguzmanpresentationprogramming
ICT-DBA4 -05-0811-Apply-Object-Oriented-Programming-Language-Skills.doc
Lecture 5 - Structured Programming Language
Looping and switch cases
Ad

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/