Results 1 to 2 of 2

Thread: "Up to" in java

  1. #1
    zoe
    zoe is offline Member
    Join Date
    Jul 2007
    Posts
    40
    Rep Power
    0

    Default "Up to" in java

    Hi, I'm doing a project for my Java class and i need to know if there is a way to do a "up to" procedure in java

    example: add up to the capacity.

    Thanks

  2. #2
    fernando is offline Member
    Join Date
    Jul 2007
    Posts
    40
    Rep Power
    0

    Default

    Wait, like add all numbers up to a certain number?

    you just take the first number, add it to the last, multiply by the total number of numbers in the series, and divide by 2

    if that isn't what you wanted, then now is the time to be clear.
    Greetings.

Similar Threads

  1. Hwlp with "Open", "Save", "Save as..."
    By trill in forum New To Java
    Replies: 3
    Last Post: 11-02-2010, 10:26 AM
  2. Replies: 3
    Last Post: 01-29-2008, 02:37 AM
  3. Replies: 1
    Last Post: 07-27-2007, 11:59 PM
  4. Replies: 1
    Last Post: 07-25-2007, 11:55 PM
  5. Replies: 1
    Last Post: 07-16-2007, 07:32 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
  •