Department Information (6 Marks)
CodeChefOpen on judge ↗
Given a file consisting of student information along with their department in the format mentioned below. Write a bash script to fetch the following details: a) No of Departments b) No of Male and Female students c) Department with maximum number of students ###Input: - The first and only line will contain n, the number of records - The next n lines contain 4 space separated strings: N
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start