Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

switch in c++

switch (variable) {
  case 1:
    // code here
    break
  default:
    // code here 
    break
}
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #switch
ADD COMMENT
Topic
Name
3+1 =