RosettaCodeData/Task/Exponentiation-order/XPL0/exponentiation-order.xpl0
2023-07-01 13:44:08 -04:00

5 lines
244 B
Text

[Format(1, 0);
Text(0, "5**3**2 = "); RlOut(0, Pow(5., Pow(3., 2.))); CrLf(0); \right associative
Text(0, "(5**3)**2 = "); RlOut(0, Pow(Pow(5., 3.), 2.)); CrLf(0);
Text(0, "5**(3**2) = "); RlOut(0, Pow(5., Pow(3., 2.))); CrLf(0);
]