about | help | code help+videos | done | prefs |
Given a linear equation in standard form (Ax + By = C), calculate the y-intercept using the A, B, and C values. If the line is vertical, return "Vertical line!" The division operator is a forward slash (/). getYIntercept(15, 0, -3) → 'Vertical line!' getYIntercept(4, 3, 9) → 3 getYIntercept(4, 4, -16) → -4 ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 125 Post-solution available
Copyright Nick Parlante 2017 - privacy