>>>>Exponentiation in fortran is right to left (but we do not have exponents in C#) - That's how it is defined
>>>
>>>Actuallt exponentiation is down to up.
>>
>>No, it's up to down
>>
>>http://mathforum.org/library/drmath/view/53887.html
>>
>>We are used to this being true for addition and multiplication, but it
>>is NOT TRUE of exponents; for that reason, it is important to include
>>parentheses to clarify this, though by convention we take a^b^c to
>>mean a^(b^c).
>>
>>
>>
>>.
>> 2
>> 3 9
>>2 = 2 = 512
>>
>>
>
>Just mine syntax error... 512 is correct... :)
Let's conclude that one simply should be wise enough to use parenthesis where the result may be doubtfull. So to the initally question, the teacher has to be blamed for missing the parenthesis or using the wrong notification.
Thats why I vote for polnish notation, makes things a lot clearer. ::)
Agnes
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]