error message with 3 sensor programming .

fixed

look for mismatched/missing curly braces (i.e.{})

you can use the autoformat command in the IDE to find them...