Question compilation problem

I am compiling the questions on dev c++ then they are running but they are neither running on this platform, nor passing any test case.


Hey so there were a few problems in your code, like doing cout before taking input, you have to take input directly and you are not taking input in correct order also logically you can’t use else with your if in linear search function