the reason it is not working is because of the () before the cout and the getchar.

just noticed, RoD beat me.