Results 1 to 2 of 2
  1. #1
    Chuck70 is offline Member
    Join Date
    Aug 2014
    Rep Power

    Default Java Program Help

    Hello All,

    I am new to this forum so hopefully I am posting to this site in the correct area. I am taking a class Intro to Programming through a local university. Now, I am not asking anyone to give me the answers or try to write the program for me but I really need some help.

    This program deals with a variation of the geographic coordinate system with Greenwich at 51° 28' 38" N. The program will be adding the three values of one coordinate to the three values of the second coordinate. Though the maximum value for seconds and minutes is 59, the user can enter values greater than that number when prompted. The maximum degree is 360 for this assignment though the user can enter values greater than that number.

    If I could just get an idea what I need to start with that would be great.


  2. #2 is offline Senior Member
    Join Date
    Mar 2011
    Rep Power

    Default Re: Java Program Help

    You should look into the Scanner class for accepting in put from the user. I have an example on GitHub. You'll need numeric variables to hold the coordinates.

    One way to start is to figure out the solution with pseudocode (plain English). Once you have a clear understanding of the solution, then code it in Java.

Similar Threads

  1. Replies: 6
    Last Post: 12-15-2013, 06:40 AM
  2. Replies: 4
    Last Post: 11-21-2012, 01:19 PM
  3. Replies: 4
    Last Post: 07-30-2010, 12:25 PM
  4. Replies: 0
    Last Post: 04-04-2008, 02:40 PM
  5. Replies: 0
    Last Post: 10-04-2007, 09:33 PM

Posting Permissions

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