Remove the line #include <conio.h>
There is no conio.h in linux or unix gcc.
Now compile and run. It should work.
Also, if you had not typed main(),
give that also.
The corroect program is as follows.