Question: Write a C++ program that reads values for the coefficients A , B , C , D , E , and F of the equations:
Write a C++ program that reads values for the coefficients A, B, C, D, E, and F of the equations:
of two straight lines, and then determine whether the lines are parallel (their slopes are equal) or the lines intersect. If they intersect, find the intersection point of the non-parallel lines and determine whether the lines are perpendicular (the product of their slopes is equal to -1).
Ax + By = CandDr + Ey = F
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
