Results 1 to 2 of 2

Thread: In-Range adder

  1. #1
    filem_funk is offline Member
    Join Date
    Nov 2009
    Location
    manila, philippines
    Posts
    3
    Rep Power
    0

    Default In-Range adder

    need help!

    *sum of integer that are in the range and out of range

    The user signals the end of the output with a 0

    Low end of range:20
    High end of range:50
    Enter data:50
    21
    60
    49
    30
    91
    0

    Sum of in-range values:100
    Sum of out range values:151

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

    Default

    Quote Originally Posted by filem_funk View Post
    need help!
    Well, what specifically do you need help with?

    I think that your best bet is to try to solve this first, then if you run into problems, post the code from your best attempt and any error messages that it might create, and let's see what we can do with it. Much luck!

Similar Threads

  1. Range within an Array
    By End in forum New To Java
    Replies: 6
    Last Post: 04-18-2009, 07:53 PM
  2. [SOLVED] Expected Range: Red Green Blue
    By AndrewM16921 in forum New To Java
    Replies: 1
    Last Post: 04-03-2009, 08:59 PM
  3. Replies: 3
    Last Post: 08-24-2008, 02:51 PM
  4. Replies: 1
    Last Post: 08-07-2007, 07:13 AM
  5. Can I set a range in case statement?
    By christina in forum New To Java
    Replies: 1
    Last Post: 07-25-2007, 09:41 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
  •