Check if the parameter year is valid

check_year(year)

Arguments

year

year introduce by the user

Value

stop if year is wrongly introduced