Does not understand fully

does not understand the question fully

@deepgarg46 Tell me the problem you’re facing in question.

@deepgarg46 Mention your problem.

public static void main(String[] args) {
	Scanner s = new Scanner(System.in);
	char ch = s.next().charAt(0);
	while ((ch != 'X') || (ch != 'x')) {

		int a, b, c;

		if (ch == '+') {
			a = s.nextInt();
			b = s.nextInt();

			c = a + b;
			System.out.println(c);
		}

		else if (ch == '-') {
			a = s.nextInt();
			b = s.nextInt();

			c = a - b;
			System.out.println(c);
		}

		else if (ch == '*') {
			a = s.nextInt();
			b = s.nextInt();

			c = a * b;
			System.out.println(c);
		} else if (ch == '/') {
			a = s.nextInt();
			b = s.nextInt();

			c = a / b;
			System.out.println(c);
		} else if (ch == '%') {
			a = s.nextInt();
			b = s.nextInt();

			c = a % b;
			System.out.println(c);
		} else if (ch != 'X'&&ch!='x') {
			System.out.println("Invalid operation. Try again.");
		} else {
			break;
		}

		ch = s.next().charAt(0);

	}
}

}

done sir

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.