Question: Can someone help with Programing in Java? (100pts) Write a Java program A3p1.java with a public class A3p1 and no named packages. The program should

Can someone help with Programing in Java?
Can someone help with Programing in Java? (100pts) Write a Java program
A3p1.java with a public class A3p1 and no named packages. The program

(100pts) Write a Java program A3p1.java with a public class A3p1 and no named packages. The program should prompt the user to input the information of several students and then display the information of those students (the number of students should be obtained from the first command line argument). The program should also report the oldest male students and youngest female students. It is best to design an additional class Student even though it is possible to implement these functionalities without such an additional class besides the class A3p1. A sample run looks like the following (blue color means those are typed by the user): [kwangecomputerl [ / temp] S java A3p1 4 Enter information for student 1: Name: Tom Sex ( ' F ' or ' M ' ):M Age: 17 Enter information for student 2 : Name: Jerry Sex ( ' F or ' M)=M Age: 18 Enter information for gtudent 3 : Name: Alice Sex(Fi or ' M):E Age: 19 Enter information for student 4 : Name: Rose Sexs' ' or ' M ') = E Rge: 21 The students you entered are: Tom is a male student of age 17. Jerry is a male student of age 18 . Alice is a female student of age 19. Rope is a female student of age 21 . The oldest male students are: Jerry (age 18). The youngest female students are: Alice (age 19). If you run the program with standard input redirection, a sample run can look like the following (assuming the text file someStudents,txt contains the Tom,M,17,Jerry,M,18,Alice,F,19,Rose,F,21 on twelve separate lines): [kwangecomputer][ /temp]\$java A3p1 4

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!