Computer Science, asked by snehareddyk188, 7 months ago

The co-ordinates of two points A and B on a Straight line are given as (x1.yt) and
(x2.y2). Write a program to calculate the slope of the line by using formula
(y2-yl)
Slope =
(x2-x1)
Take the co-ordinates as input​

Answers

Answered by mantraparekh953
0

Explanation:

The co-ordinates of two points A and B on a straight line are given as (x1,y1) and (x2,y2). Write a program to calculate the slope (m) of the line by using formula: (y2 - y1) ... Add your answer and earn points

Similar questions