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 2 of 2

Thread: Hi guys

  1. #1
    Junior Member
    Join Date
    Aug 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Hi guys

    Can anyone please explain me the java code for this scenario?

    The name of the Java class for this question is to be shortTall_studentid where studentid is your student
    ID. Write a Java program that will determine the shortest and tallest people in a group of people. For each
    person in the group the program will need to obtain their first name and their height in metres. The height
    of each person needs to be validated to ensure that the value falls in the range 0.8m to 2.5m (inclusive).
    The number of people in the group is not known. After all names and heights have been entered the
    program must display the name and height of the shortest and tallest person in the group. Note: the
    solution to this question must not use arrays or ArrayLists.


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Hi guys

    Moved from Introduction section.

    That looks like a (poorly formatted) homework assignment. It'd be easier to read if the line-ends were in the right place.

    What have you tried?
    Where are you having problems?
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. i need to help guys
    By sinkaltelmile in forum Totally Off Topic
    Replies: 4
    Last Post: March 10th, 2014, 12:20 AM
  2. hi guys
    By demirel77 in forum Member Introductions
    Replies: 1
    Last Post: December 4th, 2013, 05:27 PM
  3. Hi Guys
    By kb18001 in forum Member Introductions
    Replies: 1
    Last Post: February 4th, 2012, 12:27 PM
  4. Hi guys..
    By Born in forum Member Introductions
    Replies: 2
    Last Post: February 3rd, 2012, 04:01 AM