codeGK
Code it ALL
C++ Else-If - CodeGK

♦ C++ Else-If

♣ Example3: C++ Else-If

"else-if" statement block is executed intermediately between "if" and "else"(at the end), i.e, if the "else-if" statement becomes true after the "if" statement has become false.
In this example, Time is tested.
Example
Input:
Output:
If_else