Is this correct?
He said, "Is there no other way?"
And...
"Is there no other way?" said the boy.
And...
"This is the only way," said the other boy.

Were those correctly written?
I'm pretty sure the first one is, but I'm not sure if there is supposed to be a comma or something on the last two.

Thanks!!