If you are looking for correct punctuation, this will help.
Put what is being said into quotation marks. Put a question mark after the question.
"What is your name?" asked Anita.
What is your name; asked Anita.
2 answers
Any time you are telling what is exactly being said, put quotes around it.
Mr. K said, "Good luck on your homework."
or
"Good luck on your homework." Mr. K said.
When not to:
Mr. K wished me luck on my homework.
See the difference? The second sentence was not exactly what I said. It is what you are telling someone I said.
Mr. K said, "Good luck on your homework."
or
"Good luck on your homework." Mr. K said.
When not to:
Mr. K wished me luck on my homework.
See the difference? The second sentence was not exactly what I said. It is what you are telling someone I said.