Write a Java program that asks the user to input student names, first and last, and their points (an integer 0 <= point <= 100) (tip: use HashMap):
• If you type q or Q when asked for name or points, the program stops asking for the input.
• Enter the input data (without repeating the students and also check the range of the points).
• The program displays all teams sorted in alphabetical order after the last name and after that sorted by their points.
• The program will display the average (mean) of points.
• The program will count how many students are above average and display their list.
Example:
INPUT:
Enter student: Jane Austin
Enter points: 70
Enter student: Jane Austin (when you repeat a student, it will ask you again)
Enter team: Anne Boleyn
Enter points: 599 (when you type a wrong number, it will ask you again!)
Enter points: 50
Enter student: Marie Curie
Enter points: 80
Enter student: Q (when you type q or Q, the program stops asking)
OUTPUT:
Students by points: [Marie Curie 80, Jane Austin 70, Ann Boleyn 50]
Students by names: [Jane Austin 70, Ann Boleyn 50, Marie Curie 80]
Average: 200/3
Below average: [Ann Boleyn 50]
Todo:
a. Input data from the user (correct + good data structure choice. Using getters/setters is optional, you can make everything public).
b. Input without repeats.
c. Input. Quit when needed. Respect the displayed format.
d. Display sorted by name.
e. Display sorted by points.
f. Whatever you type, it will always display the names capitalized (the first letter is a capital letter and the rest is in lowercase).
g. Program compiles, is commented, and signed.