Posted By

sandrews_06 on 10/15/10


Tagged

javascript AGE canada


Versions (?)

Canadian Age of majority


 / Published in: JavaScript
 

  1. function minAge (province){
  2. if (province == "AB" || province =="MB" || province == "ON" || province =="PE" || province == "QC" || province == "SK"){
  3. return 18;
  4.  
  5. }else{
  6. return 19;
  7. }
  8. }

Report this snippet  

You need to login to post a comment.