1023: Midterm Exam Problem 2
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:553
Solved:54
Description
Write a computer program in C language to determine whether an point (x,y) in a Cartesian plane in which x and y are both integers is within an ellipse excluding the boundary. The ellipse is centered at (100, 100) and has a diameter along the y axis being 10 and the diameter along the x axis being 8, respectively.
The input taken from the keyboard are x and y separated by a space.
Input
5 3
Output
(5,3) is out of the ellipse
Sample Input Copy
100 103
Sample Output Copy
(100,103) is in the ellipse