#################### # Name : # UTA ID : # Lab Homework II: Assignment #1 # Program purpose : # Calculate the slope of a line passing through two points on a # Cartesian plane. # Read in two points on a Cartesian plane. The two points (x1, y1) and # (x2, y2) can be anywhere on the plane. Using these two points determine # the slope of a line that would pass through those two points and determine # y intercept for that line. Print out the two points that are being used. # Print out the slope as a decimal value (the value m from the # slope-intercept equation) and as rise over run. Print out the # y-intercept as the point where the line crosses the y-axis (in point notation). # This should be a PROGRAM and should NOT use any functions. # Required components : # User input, variables, arithmetic #################### ### main ###