Answer:
float x
float y
float z
x = Get next input
y = Get next input
z = Get next input
Put RaiseToPower(x, y) to output
Put "\n" to output
Put RaiseToPower(x, RaiseToPower(y, z)) to output
Put "\n" to output
Put AbsoluteValue(x) to output
Put "\n" to output
Put SquareRoot(RaiseToPower(x*y, z)) to output
Explanation:
The first three lines of code is simply declaring the data type of the x, y and z variables which was declared as float type meaning number with decimal points.
The next three lines after the first three lines is getting the input from the user
In coral, we use Put <expression> to output to display <expression> to the console
For the first Put statement, I am telling the interpreter to display the value of x raised to the power of y to the console by using Coral's RaiseToPower built-in math function
The Put "\n" to output statement scattered in the snippet is just for formatting reasons so that each result will be displayed in a newline
The next computation RaiseToPower(x, RaiseToPower(y, z)) is a bit nested but it is actually doing this:
The next computation is AbsoluteValue(x) is doing this
And the final computation SquareRoot(RaiseToPower(x*y, z)) is doing this: