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

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
Get step-by-step solutions from verified subject matter experts
