1. Could you put that in code tags, because it really does help and makes it easier to read.
2. Generally, it is much better for you to tell us what is going wrong, because although we can work it out for ourselves with small programs, it makes it much quicker as we can quickly catch small, common mistakes.
Thanks (sorry about bombarding you with rules/regulations though they are there for a reason and they do help)
1. Use iostream instead of iostream.h --- don't ask me why, I don't know, but I think iostream.h is depreciated or at least non standard anymore.
2. just underneath #include <iostream> put in: usingnamespace std;
EDIT: Sorry, I didn't actually check the number output, I just assumed your problem was that it wasn't compiling. At least on my compiler, it wasn't compiling at all, then again, computers always stuff up for me ;)