Question: Question 2 Write a complete C++ code that asks the user to enter six float values X1.91.21.2.72 and 22 Then the main function calls another
Question 2 Write a complete C++ code that asks the user to enter six float values X1.91.21.2.72 and 22 Then the main function calls another function to calculate the distance (i.e., d) between the two points (x1.y1, z1) and (x2, y2, z2) using the below equation. After that, the main function displays the calculated distance on the output screen. d=V (x2 - 1) + (y2-yu)? +(22-21)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
