removed getchar

getchar(); is a C++ function. And you already used scanf(); which does the same.
Merge pull request #2 from k3ll4gr0up/master

removed getchar