(10-10-2020, 07:26 PM)Star Ranger4 Wrote:(09-29-2020, 12:06 PM)Norgarth Wrote:... have to agree with the poster on this. the correct answer, if you were wondering is 2 + (2x4) (because of the order of operations!) and, given that we are adding and or multiplying EVEN NUMBERS... (IE divisible by 2)??? errr... that is really... umm... Odd? *ROFL*
Huh, let me try.
> raku -e 'say 2 + 2 x 4'
4444
>
Of course if you switch that to a real multiplication symbol (or asterisk)
> raku -e 'say 2 + 2 × 4'
> 10
>
The letter x is the string replication operator, which is what is actually used above, because it sits on the baseline. So the correct answer is actually 4444.
"Kitto daijoubu da yo." - Sakura Kinomoto