RosettaCodeData/Task/Exponentiation-order/S-BASIC/exponentiation-order.basic

6 lines
99 B
Text
Raw Permalink Normal View History

2023-12-16 21:33:55 -08:00
print "5^3^2 : "; 5 ^ 3 ^ 2
print "(5^3)^2 : "; (5 ^ 3) ^ 2
print "5^(3^2) : "; 5 ^ (3 ^ 2)
end