What do you want the program to do when the user enters bad data? Normally a program will print an error message and repeat the request to the user to enter the data correctly.
When using the...
Type: Posts; User: Norm
What do you want the program to do when the user enters bad data? Normally a program will print an error message and repeat the request to the user to enter the data correctly.
When using the...
Can you explain?
What does the code do?
What do you want it to do?
What happens when you compile and execute the posted code?
Please edit your post and wrap your code with code tags:
YOUR CODE HERE
to get highlighting and preserve formatting.