Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

C++ Else

int time = 20;
if (time < 18) {
  cout << "Good day.";
} else {
  cout << "Good evening.";
}
// Outputs "Good evening."
Source by hiddenpc.altervista.org #
 
PREVIOUS NEXT
Tagged: #Else
ADD COMMENT
Topic
Name
6+3 =