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.