Tags: online 

Rating:

According to getchar command we can imply that code is written using C programming language. Even if you dont have a compiler you can execute it online and pass input program itself. For example using [ideone.com](https://ideone.com/q0NXb0).

![](https://i.imgur.com/iTdRJms.png)