Question: C language programmimg 7.3 Task Three Write a program to calculate the distance between two locations of a bridege, A(x1,y1,zl) and B(x2,y2,z2), where xl, yl,zl,
7.3 Task Three Write a program to calculate the distance between two locations of a bridege, A(x1,y1,zl) and B(x2,y2,z2), where xl, yl,zl, x2, y2,z2 are read from a file("data.txt") in main function. The calculation should be done by calling a function named distance. This function takes six arguments (x1, yl, zl, x2, y2,and z2) and returns the value of the distance between the two locations
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
