cstutoringcenter.com logo
E-mail:Password:

Become a premier member today to gain access to exclusive
member benefits! Just $5.00 to join FOR LIFE!






Your Ad Here

Problem  11
Coordinate Planes   

Bookmark and Share

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)!**

Total solved
211 members
Click here to see them!
Date added
2008-09-09
Leader Board
View it here