>>-2**2
>>
>>what the answer... I lost my bet with my secondary schoolgirl daughter... :(
>
>There are some implied parenthesis in the expression and the result depends on where they are.
>
>Does the expression mean -(2**2) or (-2)**2?
If there isn't any parathesis you should do 2*2 and after put - .
if that would (-2)**2 than result would be +4.
I just asked software developer friends at our firm and they failed too... That's so funny... Hehe....
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only