Advertisement
Guest User

Untitled

a guest
Jul 17th, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement