Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Author: Pratik Sah
- Topic: Syntax of nested if else statement
- */
- main(){
- if (condition) {
- statement 1;
- statement 2;
- }
- else
- if (condition) {
- statement 1;
- statement 2;
- }
- else {
- statement 3;
- statement 4;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement