SHARE
TWEET

Untitled

a guest Jul 17th, 2017 39 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2. Author: Pratik Sah
  3. Topic: Syntax of nested if else statement
  4. */
  5. main(){
  6.     if (condition) {
  7.         statement 1;
  8.         statement 2;
  9.     }
  10.     else
  11.         if (condition) {
  12.             statement 1;
  13.             statement 2;
  14.         }
  15.     else {
  16.         statement 3;
  17.         statement 4;
  18.     }
  19. }
RAW Paste Data
Top