Question: write in c++ pls Write a function named void slope1 () that will determine for a point (x,y) on the standard xy graph the distance

write in c++ pls
Write a function named void slope1 () that will determine for a point (x,y) on the standard xy graph the distance from the origin (0,0) and the slope of the line connecting the origin to the point: The function should use pass-by-value to receive the values for x and y (use data type double), calculate values for distance d and slope m. and
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
