Question: C++ Question 4 , write a program to read two points on a straight line (X1, y) and (X2, y2), and display the equation of

C++
 C++ Question 4 , write a program to read two points

Question 4 , write a program to read two points on a straight line (X1, y) and (X2, y2), and display the equation of the line in the form y mx+ c (i.e. y 0.5x+3). Be careful when m 0, Iml 1, c = 0 an c

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!