Question: 1 . 2 7 LAB: Variables / Assignments: Using math functions Given three floating - point numbers x , y , and z , output
LAB: VariablesAssignments: Using math functions
Given three floatingpoint numbers x y and z output xy xyz the absolute value of x and the square root of x yz
written in coral code I have it written and the code is
Declare variables
float x
float y
float z
float result
float result
float result
float result
Input values
x Get next input
y Get next input
z Get next input
Perform calculations
result RaiseToPowerx y
result RaiseToPowerx RaiseToPowery z
result AbsoluteValuex
result SquareRootRaiseToPowerx y z
Output results with appropriate spacing to match expected format
Put result to output
Put to output
Put result to output
Put to output
Put result to output
Put to output
Put result to output
now after that I am supposed to get outputs of however I get outputs of close as you can see my input is I am so lost on how to fix it
Output all results with five digits after the decimal point, which can be achieved as follows:
Put result to output with decimal places
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
