Math syntax is only a syntax error when there are undefined symbols, or when the expression has no numbers in it. So 6÷2(1+2)=9 with no syntax error.
(3×(3)+3)=12
(3+(3)×3)=12
[3×(3]+3)=18
[3+(3]×3)=12
(3×[3)+3]=12
(3+[3)×3]=18
[3×[3]+3]=12
[3+[3]×3]=12
Also, parentheses have precedence over brackets.
Math syntax is only a syntax error when there are undefined symbols, or when the expression has no numbers in it. So 6÷2(1+2)=9 with no syntax error.
(3×(3)+3)=12
(3+(3)×3)=12
[3×(3]+3)=18
[3+(3]×3)=12
(3×[3)+3]=12
(3+[3)×3]=18
[3×[3]+3]=12
[3+[3]×3]=12
Also, parentheses have precedence over brackets.