Results 1 to 4 of 4
  1. #1
    thats_kickin is offline Member
    Join Date
    Mar 2010
    Posts
    1
    Rep Power
    0

    Unhappy Cartesian plane problem

    I need to write a program that prompts the user to input the x-y coordinate of a point in a Cartesian plane. The problem should then output a message indicating whether the point is the origin, is located on the x (or y) axis, or appears in a particular quadrant.
    Example:
    (0, 0) is the origin
    (4, 0) is on the x-axis
    (0, -3) is on the y-axis
    (-2, 3) is in the second quadrant

  2. #2
    gcalvin is offline Senior Member
    Join Date
    Mar 2010
    Posts
    953
    Rep Power
    5

    Default

    Excellent. Good luck with that!

    -Gary-

  3. #3
    iluxa is offline Senior Member
    Join Date
    Mar 2010
    Posts
    266
    Rep Power
    5

    Default

    Sounds like an interesting assignment.

  4. #4
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

    Default

    Ditto on the posts above. I look forward to hearing about your success with this assignment. Much luck!

Similar Threads

  1. Replies: 3
    Last Post: 02-07-2010, 09:34 PM
  2. java reservation class plane seat and reservation classes
    By cool_guy364 in forum Advanced Java
    Replies: 2
    Last Post: 10-15-2009, 10:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •