You really need to go back to the basics (and like Gimbal said, get a book). Your a==Yes is wrong. What you probably meant was a=="Yes" which would still be wrong. You would need to do...