Question: y = mx + b; m: slope, b:y - interceptFor example, m = 1 , b = 1 , the equation of the line is:
ymxb; m: slope, b:yinterceptFor example, m b the equation of the line is: y xWrite a program in which the user is prompted to enter the slope and the yintercept in the mainThe main passes the two parameters to myequation which prints the equation of the line.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
