Problem Statement - Slope of line -using structure Point passed to a function
Write a program by declaring a structure Point with two integer values for its position x and y. Now write a function that finds slope of a line drawn out of two points that are passed as structure argument to this function. Show implementation of this function and structure in the main routine assuming suitable values of x and y being initialised for two points.
sunmitra| Created: 24-Jan-2018 | Updated: 24-Jan-2018|