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
}
 
PREVIOUS NEXT
Tagged: #statement
ADD COMMENT
Topic
Name
3+6 =