need help for question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ethaniel84
    New Member
    • Feb 2008
    • 2

    need help for question

    how to ask the user to input a sequence of integers and terminated by any negative value?:

    then i need to print the number of integers, total and the largest and smallest values that were entered.
  • BigDaddyLH
    Recognized Expert Top Contributor
    • Dec 2007
    • 1216

    #2
    The experts on this site are more than happy to help you with your problems but they cannot do your assignment/program for you. Attempt the assignment/program yourself first and post questions regarding any difficulties you have or about a particular function of the code that you don't know how to achieve.

    Please read the Posting Guidelines and particularly the Coursework Posting Guidelines.

    Then when you are ready post a new question in this thread.

    MODERATOR

    Comment

    • hollywood115
      New Member
      • Feb 2008
      • 16

      #3
      Originally posted by ethaniel84
      write a java application that lets the user input a sequence of integers terminated by any negative value. the program should then print the number of integers, total and the largest and smallest values that were entered.
      thats not very hard to do at all. once u start it and get it going u'll start putting it together rather easily.

      start by getting the integers from the user, once that works u worry about determining if its negative or not.

      Comment

      • ethaniel84
        New Member
        • Feb 2008
        • 2

        #4
        Originally posted by hollywood115
        thats not very hard to do at all. once u start it and get it going u'll start putting it together rather easily.

        start by getting the integers from the user, once that works u worry about determining if its negative or not.

        can you write me some code?

        Comment

        • BigDaddyLH
          Recognized Expert Top Contributor
          • Dec 2007
          • 1216

          #5
          Originally posted by ethaniel84
          can you write me some code?
          That's not how these forums work, or at least I hope not. Instead, post your best effort and then ask a specific question about your own code.

          Comment

          • hollywood115
            New Member
            • Feb 2008
            • 16

            #6
            Originally posted by ethaniel84
            can you write me some code?
            no... if u at least try i'll help u out, im not gonna do ur assignment for u.

            Comment

            • sukatoa
              Contributor
              • Nov 2007
              • 539

              #7
              Originally posted by ethaniel84
              can you write me some code?
              The experts here can help to correct your code, but not to write codes...

              Comment

              • BigDaddyLH
                Recognized Expert Top Contributor
                • Dec 2007
                • 1216

                #8
                Originally posted by hollywood115
                no... if u at least try i'll help u out, im not gonna do ur assignment for u.
                The experts aren't here to correct your spelling, either. Please use correct English, not text messaging.

                Comment

                Working...