Exponentiation with infix operators in (or operating on) the base: Difference between revisions
Content deleted Content added
m →{{header|Wren}}: Minor tidy |
Langurmonkey (talk | contribs) |
||
(One intermediate revision by one other user not shown) | |||
Line 320:
{{out}}
<pre>Same as FreeBASIC entry.</pre>
=={{header|EasyLang}}==
<syntaxhighlight>
for x in [ -5 5 ]
for p in [ 2 3 ]
print x & "^" & p & " = " & pow x p
.
.
</syntaxhighlight>
=={{header|F_Sharp|F#}}==
Line 471 ⟶ 480:
{{out}}
<pre>[-25, -25, 25, -25]
[-125, -125, -125, -125]
</pre>
|