Question: Please use Java language to solve it 1. You are given a file containing 5000 UIU students' id. (Create a text file with extension .txt
Please use Java language to solve it

1. You are given a file containing 5000 UIU students' id. (Create a text file with extension .txt containing the students' id.) Consider an UIU id 011201123. It has 4 parts: First 3 digits (here 011) is the department. Next 2 digits (here 20) is the year the student got admitted. Then next digit (here 1 ) is the semester. The next 3 digits (here 123 ) is the sl. no of the student. Dept. codes: "011": CSE "012": MSCSE "111": BBA "021": BSEEE "112": MBA You need to find the total number of CSE and EEE student ids in the file. Print the number in the console. Your output should look like this: CSE Students count: XXXX EEE Students count: YYYY Print the student id of the BBA student, who has the largest sl. no
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
