I wrote this for a challenge that just closed but I’m posting it anyway good luck to the challengers. And yes I know this will not compile and I think i switched code types like 3 times.
You gots a compile time error. When checking if a variable is equal to another, it’s ==, not =. Otherwise you’re trying to assign one variable to another.