Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case/esac
- if/fi
- do/od
- proc days in month = (int year, month)int:
- case month in
- 31,
- if year mod 4=0 ∧ year mod 100≠0 ∨ year mod 400=0 then 29 else 28 fi,
- 31, 30, 31, 30, 31, 31, 30, 31, 30, 31
- esac;
- if a ≥ b → max := a
- | b ≥ a → max := b
- fi
- #define IF if(
- #define THEN ){
- #define ELSE } else {
- #define ELIF } else if (
- #define FI ;}
Add Comment
Please, Sign In to add comment