Can you make a small complete program that compiles, executes and shows the problem?

Please edit your post and wrap your code with


<YOUR CODE HERE>

to get highlighting and preserve...