Does the expression $1+1+1+1+1+1+1+1+1+1+1+1 \cdot 0+1$ equal $1$ or $12$ ?
I thought it would be 12 this as per pemdas rule:
$$(1+1+1+1+1+1+1+1+1+1+1+1)\cdot (0+1) = 12 \cdot 1 = 12$$
Wanted to confirm the right answer from you guys. Thanks for your help.
Your answer of $12$ is numerically correct, but you’ve applied the precedence rules incorrectly. In the absence of parentheses multiplication is done before addition, so
$$1+1+1+1+1+1+1+1+1+1+1+1\cdot 0+1$$
is to be evaluated as
$$1+1+1+1+1+1+1+1+1+1+1+(1\cdot 0)+1\;,$$
not as
$$(1+1+1+1+1+1+1+1+1+1+1+1)\cdot(0+1)\;.$$
Since $1\cdot0=0$, this simplifies to
$$1+1+1+1+1+1+1+1+1+1+1+0+1=12\;.$$