You asked:

how old was kennedy when he was shot

Sorry, I don't yet have an answer to that question.