Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

C++ if...else...else if statement

if (condition1) {
  // code block 1
}
else if (condition2){
  // code block 2
}
else {
  // code block 3
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #statement
ADD COMMENT
Topic
Name
3+2 =