c) Write function definition for TOWER() in C++ to read the
content of a text file WRITEUP.TXT, count the
presence of word TOWER and display the number of
occurrences of this word.
Note :
- The word TOWER should be an independent word
- Ignore type cases (i.e. lower/upper case)
Example:
If the content of the file WRITEUP.TXT is as follows:
Tower of hanoi is an interesting problem. Mobile phone
tower is away from here. Views from EIFFEL TOWER are
amazing.
The function TOWER() should display the following:
Output:
Answers
Answered by
0
Answer:
baan kae loda hurrrrer
Similar questions
English,
5 months ago
Social Sciences,
5 months ago
Geography,
9 months ago
Physics,
9 months ago
Social Sciences,
1 year ago
Computer Science,
1 year ago
Biology,
1 year ago