Question: in c Problem is talken from Class Text The table below summarizes three commonly used mathematical models of non-vertical straight lines Mode Two-point form Point-slope


in c
Problem is talken from Class Text The table below summarizes three commonly used mathematical models of non-vertical straight lines Mode Two-point form Point-slope form Equation Given xy,y) m,Cy) m,b Slope-intercept formy mx+b Design and implement a program that permits the user to convert either two-point form or point-slope form into slope-intercept form. Implement the following functions: get_problem Displays the user menu, then inputs and returns as the function value the problem number selected. get2 point Prompts the user for the x-y coordinates of both points, inputs the four coordinates, and returns them to the calling function through output parameters get point slope Prompts the user for the slope and x-y coordinates of the point, inputs the three values and returns them to the calling function through output parameters slope intept_ Erom2_point Takes four input parameters, the x-y coordinates of two points and returns through output parameters the slope (m) and y-intercept b). intopt_Erom_point_ slope Takes three input parameters, the x-y coordinates of one point and the slope, and returns as the function value the y-intercept. display2 point Takes four input parameters, the x-y coordinates of two points, and displays the two-point line equation with a heading display point_slope Takes three input parameters, the x-y coordinates of one point and the slope, and displays the point-slope line equation with a heading. diaplay alope_intept Takes two input purameters. the slope and the y-intervept, and displays the slope-intercept line equation with a heading
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
