prog.c:2:18: fatal error: conio.h: No such file or directory

first program dnt know how to solve but i tried please tell me the mistakes

@bindushanmukh online judges use linux compilers… conio.h is not supported here.

You cannot use header files like <conio.h> or <dos.h> on codechef.

So, simply remove those from your code and also remove the functions belonging to those headers ( like clrscr() , getch() , etc ).

@bindushanmukh the compilation process over here does not use the standard borland complier, it uses gcc compiler, henceforth these header files are not supported.
But, still you can make your program work like a charm for e.g. you can replace clrscr() by system(“cls”), etc.

I hope I helped!!!