Well that is not what I am here to do...
I offered help. In fact I wrote out part of your pseudocode for you.
I told you how to fix it. Write code to do the actions in post #4.
Don't...
Type: Posts; User: jps
Well that is not what I am here to do...
I offered help. In fact I wrote out part of your pseudocode for you.
I told you how to fix it. Write code to do the actions in post #4.
Don't...
Spoonfeed you working code? No. That would make me a bad person.
You said you are having problems detecting if the string is wrong rather than the string and the integer.
So take it one step at...
In order to check one thing regardless of the other, check one item first (string). If the item is wrong, ask for input until it is correct. Then move on and work on the next part (integers).