In CORAL LANGUAGE please and thank you : Given three floating-point numbers x, y, and z, output x to the power of y, x to the power of (y to the power of z), the absolute value of x, and the square root of (x * y to the power of z). Output all results with five digits after the decimal point, which can be achieved as follows: Put result to output with 5 decimal places Ex: If the input is: 5.0 2.5 1.5 the output is: 55.90170 579.32402 5.00000 6.64787 Hint: Coral has built-in math functions (discussed elsewhere) that may be used.
In CORAL LANGUAGE please and thank you :
Given three floating-point numbers x, y, and z, output x to the power of y, x to the power of (y to the power of z), the absolute value of x, and the square root of (x * y to the power of z).
Output all results with five digits after the decimal point, which can be achieved as follows:
Put result to output with 5 decimal places
Ex: If the input is:
5.0 2.5 1.5
the output is:
55.90170 579.32402 5.00000 6.64787
Hint: Coral has built-in math functions (discussed elsewhere) that may be used.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images
The output on this is as follows:
55.90169943749474 579.3240222126375 5.0 6.647869871181236
The output should be:
55.90170 579.32402 5.00000 6.64787
I am not sure how to suppress the decimals to five positions.