Where are you getting stuck?
The program must ask for something.
"Please enter your name"
Echo it.
"You entered"
And then confirm it.
"If this is correct, press 1, if not press 0 and try again."
And at the very end it must allow you to press a numner to exit or press another number to go through the whole program again.