You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: exercises/darts/description.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ In our particular instance of the game, the target rewards 4 different amounts o
12
12
- If the dart lands in the inner circle of the target, player earns 10 points.
13
13
14
14
The outer circle has a radius of 10 units (this is equivalent to the total radius for the entire target), the middle circle a radius of 5 units, and the inner circle a radius of 1.
15
-
Of course, they are all centered at the same point (that is, the circles are [concentric][] defined by the coordinates (0, 0).
15
+
Of course, they are all centered at the same point — that is, the circles are [concentric][] defined by the coordinates (0, 0).
16
16
17
17
Write a function that given a point in the target (defined by its [Cartesian coordinates][cartesian-coordinates]`x` and `y`, where `x` and `y` are [real][real-numbers]), returns the correct amount earned by a dart landing at that point.
0 commit comments