"Assignment in conditional expression"

i need some help. it says if(x = 8787) “assignment in conditional expression” can you help me?

Welcome to the forums! :slight_smile:

It means you are trying to assign the value 8787 to x in your conditional. Consider the difference between the statements x = y, and x == y, they mean two different things.