Results 1 to 2 of 2
  1. #1
    sabarooni's Avatar
    sabarooni is offline Member
    Join Date
    Nov 2011
    Rep Power

    Wink Help with comparing values

    Hi, I have written most of a program, in which 3 doubles are calculated.

    I now need the program to print out which of the 3 is the cheapest. If 2 or more of the calculated numbers are the same, I just need to print out that there is no cheapest one.

    I used a math(target) and user(application) class.

    Could anyone help me on this one?
    Thanks in advance!

  2. #2
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Washington, DC
    Rep Power

    Default Re: Help with comparing values

    That's not really how this works. What have you tried? Where are you stuck? What is your actual question? Where is your SSCCE?
    How to Ask Questions the Smart Way
    Static Void Games - GameDev tutorials, free Java and JavaScript hosting!
    Static Void Games forum - Come say hello!

Similar Threads

  1. comparing Graphs and Comparing Matrix
    By jetnor in forum New To Java
    Replies: 0
    Last Post: 03-27-2011, 03:40 AM
  2. Comparing values within an Object
    By Bake1tEazy in forum New To Java
    Replies: 10
    Last Post: 02-09-2011, 03:05 PM
  3. Replies: 14
    Last Post: 01-22-2011, 03:36 PM
  4. Comparing values in the table with the value the user keyed in
    By pancakeleh in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 01-06-2011, 02:31 AM
  5. Comparing values problems
    By mari.beka in forum New To Java
    Replies: 12
    Last Post: 11-16-2010, 10:15 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