about | help | code help+videos | done | prefs |
Write a method called quadrant that takes a pair of real numbers that indicate the x and y value of a point. This method should return the quadrant that the point lies in. If either the x or y value is 0, the method should return 0. quadrant(3, 4) → 1 quadrant(-2, 10.5) → 2 quadrant(-4.5, -9) → 3 ...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: 100 Post-solution available
Copyright Nick Parlante 2017 - privacy