Results 1 to 2 of 2
  1. #1
    koneru_18 is offline Member
    Join Date
    May 2011
    Posts
    1
    Rep Power
    0

    Default dividing the number range

    Hi...
    I have a number range from 1 to 247249719. I would like to divide from 1 to 247249719,with a difference of 10,000. Is there any function for this?

    thanks

  2. #2
    doWhile is offline Moderator
    Join Date
    Jul 2010
    Location
    California
    Posts
    1,642
    Rep Power
    6

    Default

    I think you will have to explain further...divide what by what? Do you mean a for loop?
    Java Code:
    for ( int i = 1; i < 247249719; i+= 10000){
    ....
    }

Similar Threads

  1. Dividing in java
    By poop in forum New To Java
    Replies: 4
    Last Post: 05-30-2011, 07:56 AM
  2. Dividing in Java
    By hawaiifiver in forum New To Java
    Replies: 19
    Last Post: 03-11-2011, 11:09 AM
  3. Dividing 3 items, please help.
    By Quizzle23 in forum New To Java
    Replies: 18
    Last Post: 02-24-2011, 06:42 AM
  4. Printing the Number of Times a Number in a Range Shows up
    By space4rent00 in forum New To Java
    Replies: 1
    Last Post: 02-05-2010, 10:42 PM
  5. Replies: 1
    Last Post: 08-07-2007, 06:13 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
  •