Problem solving and debugging.
Linux redirection to read data from a file.
Use of conditional loop (while).
Data File Description
A data file for this exercise will consist of several lines of text that form sentences. The text may include letters, punctuation marks, and/or digits.
Each sentence will be terminated with either a period (.), an exclamation mark (!), or a question mark (?).
Design and implement a complete C++ program that will using Linux redirection, read the contents of the file and compute the average number of letters per sentence in the file count the number of digits in the file
display the average with a label and 3 digits to the right of the decimal
display the digit count with a label