Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 5 of 5

Thread: My assignment

  1. #1
    Junior Member
    Join Date
    Sep 2014
    Posts
    2
    My Mood
    Angelic
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Talking My assignment

    Hello everyone. I am beginner in java. My teacher gives us an assignment but i cant get the correct answer.
    Write a program that will read unspecified numbers of scores . The program will output the average of these scores and the scores that are below and above the average.

    Example..
    1
    2
    3
    4
    5
    Average is 3
    Below 1
    2
    Above
    4
    5
    Can you please answer this. I promise that i will give my best to learn it.
    Thank you in advance.


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,140
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: My assignment

    What have you tried?
    Do you have any specific questions about or problems with your assignment?
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Junior Member
    Join Date
    Sep 2014
    Posts
    2
    My Mood
    Angelic
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: My assignment

    I tried using for loop but i cant finish it. my prof. always gives us an advance assignment.

  4. #4
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,140
    Thanks
    65
    Thanked 2,720 Times in 2,670 Posts

    Default Re: My assignment

    Do you have any specific questions about your code?
    If you don't understand my answer, don't ignore it, ask a question.

  5. #5
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,517
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: My assignment

    Welcome to the forum! Please read this topic to learn how to post code in code or highlight tags and other useful info for new members.

    Post the code you've written (correctly, per the above link) to get the wrong answer and ask specific questions about it.

Similar Threads

  1. Behaviour of shortcut assignment and normal assignment for float
    By rakeshkr2 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: April 20th, 2014, 02:54 AM
  2. Need help with assignment
    By djhunt90 in forum What's Wrong With My Code?
    Replies: 3
    Last Post: November 13th, 2012, 03:36 PM
  3. assignment help
    By suddenark in forum What's Wrong With My Code?
    Replies: 1
    Last Post: October 22nd, 2011, 11:11 PM
  4. assignment troubles polymorphism (guide for assignment included)
    By tdawg422 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: October 8th, 2011, 10:01 AM
  5. Replies: 1
    Last Post: February 22nd, 2010, 08:20 AM