I am writing problems-solutions book. I have decided that problems and solutions shall be separated; first half of the book having problems and the second half solutions. But I need the text of the problem in the solution part too.
Eg.
PART I
Problem 3.3: Find the speed of the airplane...
PART II
Problem 3.3: Find the speed of the airplane...
Solution to the problem goes as...
I am thinking of a command of type
\problem{prob33}{Find the speed of the airplane...}
\solution{prob33}
So the idea is that the command \solution would be somehow connected to the command \problem and invoking \solution{prob33} would again print the text "Find the speed of the airplane...", which was defined by \problem.
Is there any good solution for my problem?
Thanks for your help!

