How should the sentence below be rewritten to avoid incorrect punctuation?

"What is the name of your dog"? my friend asked.