Results 1 to 2 of 2

Thread: Numbers

  1. #1
    Mike8629 is offline Member
    Join Date
    Oct 2013
    Posts
    1
    Rep Power
    0

    Default Numbers

    I have a basic understanding of java but im unsure how I would do this.
    Basically, I would like to make a program where I input a few numbers and a limit and it would print the number with the largest free space around it.

    Like this
    2 numbers between 1-10, lets say 3 and 5
    ##########
    I would want it to print 10 because it has the largest area before the next number

  2. #2
    Junky's Avatar
    Junky is offline Grand Poobah
    Join Date
    Jan 2011
    Location
    Dystopia
    Posts
    3,789
    Rep Power
    7

    Default Re: Numbers

    Not understanding your requirements. Please provide further explanation and/or more examples.

Similar Threads

  1. Sum Of 2 Numbers Jsp
    By koricha in forum JavaServer Pages (JSP) and JSTL
    Replies: 2
    Last Post: 04-23-2012, 11:14 AM
  2. how to change numbers into word numbers?
    By akeni in forum New To Java
    Replies: 13
    Last Post: 11-18-2011, 08:46 AM
  3. Replies: 11
    Last Post: 01-14-2011, 06:36 PM
  4. Sum of 4 numbers...!?
    By xmenus in forum New To Java
    Replies: 7
    Last Post: 02-14-2010, 03:36 PM
  5. printing two smallest numbers from a series of numbers
    By trofyscarz in forum New To Java
    Replies: 2
    Last Post: 10-14-2008, 11:46 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
  •