Question: A set of data files named exfile 1 . dat , exfile 2 . dat , etc. has been created by a series of experiments.

A set of data files named exfile1.dat,exfile2.dat, etc. has been created by a series of
experiments. It is not known exactly how many there are, but the files are numbered
sequentially with integers beginning with 1. The files all store combinations of numbers
and characters, and are not in the same format. Write a script that will count how many
lines total are in the files. Note that you do not have to process the data in the files in any
way; just count the number of lines.

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 Programming Questions!