Answer to Question #21320 in C++ for Nvengkaadesh
To find the intersection of two lines, the two lines need to be stated in the slope-intercept form. So you need the formulas for the slope of a line, the y-intercept of a line and the intersection of two lines.
Assume that a line has been determined by giving two points, (x1, y1) and (x2, y2).
Assume that two lines are specified, line1 and line2,
Your program should ask the user to enter the x and y coordinates of two points on the first line. Then it should ask for the coordinates of two po
Unfortunately, your question requires a lot of work and cannot be done for free.
Submit it with all requirements as an assignment to our control panel and we'll assist you.
Need a fast expert's response?Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!