Why this error?

ERROR:
runguard: warning: timelimit exceeded (wall time): aborting command runguard: warning: command terminated with signal 15

CODE :
#include<bits/stdc++.h>
using namespace std;
int main() {
char ch[10];
cin>>ch;

while(ch != "X" ||  ch !="x"){
	int a,b;
	cin>>a>>b;
    if(ch=="+"){
        cout<<a+b<<"\n";
    }
    else if(ch=="-"){
        cout<<a-b<<"\n";
    }
    else if(ch=="*"){
        cout<<a*b<<"\n";
    }
    else if(ch=="/"){
        cout<<a/b<<"\n";
    }
    else if(ch=="%"){
        cout<<a%b<<"\n";
    }
    else{
        cout<<"Invalid operation. Try again."<<"\n";
    }
    cin>>ch;
    
}
return 0;

}

hi @alien this is segmentation fault error.
Your code is going into an infinite loop. The while loop condition should be

while (ch != 'X' && ch != 'x')

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.