Small Error Message in long line of code

Hi all,
I just was making a small project that takes multiple readings of one sensor per second, and ran into an error message that I can't figure out.

In the IDE, when I compile, this line of code becomes yellow:

        if(sample3 <= 200 || sample31 <= 200 || sample32 <= 200 || sample33 <= 200 || sample34 <= 200 || sample35 <= 200 || sample36 <= 200 || sample37 <= 200 || sample38 <= 200 || sample39 <= 200 || sample301 <= 200 || sample302 <= 200 || sample303 <= 200 || sample304 <= 200 || sample305 <= || sample306 <= 200) {

Yep, somehow I fit all of that into one line of code.

And I get this error message:

SodaMachine.cpp: In function 'void loop()':
SodaMachine:156: error: expected primary-expression before '||' token

Any Help?

Thanks,
Qtechknow

Have you been introduced to Mr For Loop ?

Thanks for the help. I do know what a for loop is, but I don't really want to use a for loop for this project. I would rather make the code how I know it works (with ifs), than a way that I've only been using for a few months.

Any Help?

Look at sample305

Yup, sample 305

... || sample305 <= || ...

Perfect! Works Great! Thanks

You're allowed to put new lines anywhere you want. If you just replaced each space there with a newline, the compiler would tell you more nearly where the error was.