Get index of speceific characters in a char array [JAVA]
<p>I'm coding a calculator and i want to find operators index in a char array . My code right now looks like:</p>

<p><img src="https://i.stack.imgur.com/OWxaE.png" alt="looking of the code:"></p>

<p>I get an error on the if statement as it expects a char array and not a char.</p>

<p>How can i make this work or what i have don bad?</p>