Results 1 to 7 of 7
  1. #1
    at710am is offline Member
    Join Date
    May 2017
    Posts
    2
    Rep Power
    0

    Unhappy Emergency help on a homework.

    Hello!
    I need help on writing a java program to display complete numbers between 1to10000. how can I write it?
    Thanks a lot!

  2. #2
    jim829 is offline Senior Member
    Join Date
    Jan 2013
    Location
    Northern Virginia, United States
    Posts
    6,226
    Rep Power
    13

    Default Re: Emergency help on a homework.

    Please don't double post your request to this site. And there is nothing advanced about this.
    Check out my comments in your related post.

    Regards,
    Jim
    The JavaTM Tutorials | SSCCE | Java Naming Conventions
    Poor planning on your part does not constitute an emergency on my part

  3. #3
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    14,423
    Blog Entries
    7
    Rep Power
    27

    Default Re: Emergency help on a homework.

    I'm moving this to the beginners section; btw, it can't be done for real numbers (see Cantor for its diagonalization proof).

    kind regards,

    Jos
    Build a wall around Donald Trump; I'll pay for it.

  4. #4
    jim829 is offline Senior Member
    Join Date
    Jan 2013
    Location
    Northern Virginia, United States
    Posts
    6,226
    Rep Power
    13

    Default Re: Emergency help on a homework.

    Didn't know what that the name of that proof was but it is described in one of my books without attribution to Cantor. Basically it shows
    that there are at least two values of infinity (there are actually infinite values of infinity). However, I don't know what that has to do with
    the OP's question (nor do I know what a complete number is - as compared to a complete sequence).

    Regards,
    Jim
    The JavaTM Tutorials | SSCCE | Java Naming Conventions
    Poor planning on your part does not constitute an emergency on my part

  5. #5
    atia is offline Member
    Join Date
    May 2017
    Posts
    1
    Rep Power
    0

    Default Re: Emergency help on a homework.

    hello .
    can you help me ..

    i am doing java programming language in GUI
    AND I NEED HELP TO TRANSFER DATA FROM ONE GUI TO ANOTHER

  6. #6
    jim829 is offline Senior Member
    Join Date
    Jan 2013
    Location
    Northern Virginia, United States
    Posts
    6,226
    Rep Power
    13

    Default Re: Emergency help on a homework.

    Please don't hijack someone else's thread. Just start your own.

    Regards,
    Jim
    The JavaTM Tutorials | SSCCE | Java Naming Conventions
    Poor planning on your part does not constitute an emergency on my part

  7. #7
    NirelG is offline Member
    Join Date
    Mar 2017
    Posts
    10
    Rep Power
    0

    Default Re: Emergency help on a homework.

    If by "complete numbers" you mean whole numbers, etc: 1,2,3,4,5...10000, then it can be done in a lot of ways.
    The easiest ways will be using a loop, you can use either a while or a for loop and both will give you this option.
    The little more advanced option is using recursion, but you don't really need to do it for this purpose..

    good luck,
    Nirel.

Similar Threads

  1. Emergency exam help - calculating interest
    By jm_scion in forum New To Java
    Replies: 1
    Last Post: 12-15-2013, 03:17 AM
  2. Replies: 6
    Last Post: 10-21-2011, 03:59 AM
  3. fibbonacci series- please its emergency
    By zoala001 in forum Java Applets
    Replies: 5
    Last Post: 01-14-2011, 12:58 PM
  4. Replies: 0
    Last Post: 03-28-2010, 09:55 AM

Tags for this Thread

Posting Permissions

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