The user will also have the capability to search for the first occurrence of a given file or directory in the directory system and give its path information. If the file or directory is not found, an informative message will be displayed for the user. For example, suppose we wanted to search for part2a. The user will also have the capability to determine the number of files in the system and the number of directories in the system. The number of files in the above system is 27, and the number of directories in the above system is 9.
Files correspond to leaves.
You can assume that no more than 6 items will be stored in a given directory, but a single directory could have an arbitrary number of levels of subdirectories. As usual, provide the user with the ability to repeat commands over and over until he or she wishes to quit the program.