add tenary operators "?" for if, and ": "for else to conbine condition in one line
add the ternary operator to combine the condition to execute the message according to the age gets a different book