Question: I need help making a simple C program that achieves the following: prompts user for X1 and then Y1 and then prompts user for X2

I need help making a simple C program that achieves the following: prompts user for X1 and then Y1 and then prompts user for X2 and Y2. Program will then calculate and print the slope and equation of the line. Lastly it will promot the user for X3 and then print out the Y3. Thanks
 I need help making a simple C program that achieves the

The input/output formats for your program should look like this: enter lst X coordinate: enter lst y coordinate: enter 2nd X coordinate: enter 2nd y coordinate: slope = 9.999999 y-intercept - +9.999999 line equation: y = 19.999999 * x + 19.999999 enter 3rd X coordinate: 3rd y coordinate = +9.999999 Your knowledge of mathematics, an explanation of the Cbuilt-in float data type [with its formatstringsforprintf()andscanf(), and this program description provides the information you will need to solve this problem and write the program, but we will have a group problem solving session in class before the program is due. This will allow us to fully understand the problemand to develop a structured top-down designforyour algorithmand forthe program. Part of this assignment is to develop the algorithm before you code the program. You are expected to submit a written copy of the algorithm in pseudo code or diagram. The algorithm maybeon paperorsubmittedon Blackboard as a file with the Csource code. An algorithm that fits on one page is reasonable

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!