Question: C++ PROGRAM Create a file named dummy.txt manually and store any text of 500 words and perform following operations: a) Read file and print data

C++ PROGRAM Create a file named dummy.txt manually and store any text of 500 words and perform following operations: a) Read file and print data on screen. b) Count total letters, words and sentences from text file. c) Create a file named info-dummy.txt and store total letters, words and sentences in following pattern: Letters: 125 Words: 70 Sentences: 8 d) Read above file named info-dummy.txt and add letters, words, sentence and print on screen. Letters: 125 Words: 70 Sentences: 8 Output: 203 (125+70+8)

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