conio is a dos header file so we cant use it, using getchar instead for input. Still don't know about that bug