RosettaCodeData/Task/Exponentiation-order/PureBasic/exponentiation-order.basic

5 lines
123 B
Plaintext

OpenConsole()
PrintN("(5^3)^2 = " + Str(Pow(Pow(5, 3), 2)))
PrintN("5^(3^2) = " + Str(Pow(5, (Pow(3, 2)))))
CloseConsole()