Using C Write Program Reads Report Running Text Issues Warnings Style Following Features S Q37174544

Using C++

Write a program that reads a report (running text), issueswarnings on style with the following features.

Statistics

A statistical summary is prepared for each report processed withthe following information:

• total number of words in the report;

• number of unique words;

• number of unique words of more than four letters;

• a listing of the special words with the number of times eachwas used in the report.

Style Warnings

Issue a warning in the following cases:

• Word used too often: List each unique word of more than fourletters if its usage is more than 5% of the total number of wordsof more than three letters.

Run

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.