Functions Wacky

this function will see if you are old enough to go into the movie
theater to see a rated R movie
Functions Wacky

variable to collect users date of birth
Functions Wacky

function takes the current year and subtracts it by the year you are
born to find out your age
Functions Wacky

variable added for the result. added ternary if statement. If you are
17 and above you can see the movie. if not, you cant see the movie.
Functions Wacky

added return of the result. console logged the end result out
Functions Wacky

Added comments to code. Done with Functions assignment.