Home / Expert Answers / Computer Science / 1-write-a-program-that-will-allow-a-user-to-enter-student-id-integer-names-including-lastnames-pa243

(Solved): 1- Write a program that will allow a user to enter student id(integer), names (including lastnames) ...




1- Write a program that will allow a user to enter student id(integer), names (including lastnames) and scores into an array
1- Write a program that will allow a user to enter student id(integer), names (including lastnames) and scores into an array one by one \( \mathrm{k} \) times. It will then rearrange the data in descending order by the score and lastname and name in order(first score; in case scores are the same last name; otherwise name) and calculate and report the mean, standard deviation and median for the data set. You must inform the duplicate data at the end. In detail the content will have: Enter the number of the students: 10 -here user is asked to enter id, name, lastname and score in order 10 times one after another -user enters the info until id is \( -1 \) or score is \( -1 \) -statistical calculations and sorted data is printed(do not include duplicate entries in the calculations and printed result). -duplicate entries(means entries having the the same id), name last name and score are reported. ** You must trim the spaces for name and last names, ** name, lastname having non-alpha character content or null string will not be accepted so that user will be asked to reenter the data. \( { }^{* *} \) Check for the repeating ids and eliminate duplicate entries(same id) from the statistical calculations.


We have an Answer from Expert

View Expert Answer

Expert Answer


I have provided the ans In program HERE YOUR ANSWER : public class Student { private int id; private String name; private String lastname; private dou
We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe