Become a premier member today to gain access to exclusive member benefits! Just $5.00 to join FOR LIFE!
In math, a Cartesian plane is most commonly known as an X,Y graph. This graph has 4 quadrants. Here is the listing for the Quadrants and the relation to the (x,y) pair:
Quad. I: (x, y) Quad. II: (-x, y) Quad. III: (-x, -y) Quad. IV: (x, -y) The pair (3, -5) lies in Quardant IV. The pair (3, 3) lies in Quard. I
Given an input file of 1000 randomly generated x, y pairs (plane.txt), how many of those pairs lie in Quadrant III?
***Solve this challenge to receive the "Euler" gift for your collection***
**Register or login to submit the answer & earn 25 rewards points!(or 50 if you're a premium member)!**