Skip to content

Gen. to Slope Intercept

Jackkillian edited this page Jan 12, 2023 · 1 revision

Gen. -> Slope-Intercept

Takes a linear equation in the general form (Ax+By=C) and converts it into slope-intercept form (y=mx+b).

Input

Prompts for the values of the equation Ax+By=C.
3 values:

  • A
  • B
  • C

Output

Outputs the following values:

  • The equation in general form
  • The equation in slope-intercept form

The program will quit once you press enter.

Clone this wiki locally