Programming Microsoft Visual Studio Write C Program Following Algorithm Compile Run Verify Q43868486
programming in Microsoft visual studio.
Write a C++ program for the following algorithm. Compile, run, andverify the result by choosing some test data.
Prompt user to write X1 value in double
Read X1
Prompt user to write X2 value in double
Read X2
Prompt user to write Y1 value in double
Read Y1
Prompt user to write Y2 value in double
Read Y2
Compute the lengths of the two sides of the right trianglegenerated by the two points
Compute the distance between the two points, which is equal to thelength of the hypotenuse of the triangle.
Display the distance between the two points
Expert Answer
Answer to programming in Microsoft visual studio. Write a C++ program for the following algorithm. Compile, run, and verify the re…
OR