Please edit your post and wrap your code with code tags:
YOUR CODE HERE
to get highlighting and preserve formatting.
Its hard to see the logic without the code properly formatted.
Type: Posts; User: Norm
Please edit your post and wrap your code with code tags:
YOUR CODE HERE
to get highlighting and preserve formatting.
Its hard to see the logic without the code properly formatted.
You can't control what a user enters, but you can make the program not accept what the user enters.
To do that use a loop that asks the user for input, tests what is input and exit the loop if the...