Question: Problem 5A (50 points) Implement a program in C that counts the number of crew members, that is, the number of distinct IDs in the
Problem 5A (50 points) Implement a program in C that counts the number of crew members, that is, the number of distinct IDs in the personnel file. For instance, the file shown above includes six distinct IDs: 0, 1, 2, 100, 200, and 300. Input and output: Your program should input the name of the personnel file, and print the number of distinct IDs in the file. The file name is a string, the length of which is between 1 and 60.
Make sure it runs in Borland compiler.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
