EnggRoom

Full Version: CS 4th sem mini project
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Q:-1) Write a program in C++ :-
A paragraph (a large one) in English language will be given. You have to find and printout the most occurring ‘quartet’ in the paragraph. For this task a 'quartet' is defined as a group of four words. Everything should be case insensitive.'

Example input: And in that dream we were flying. We flew to the other side of the moon. We played with a star. Relaxed a bit and then we flew to the end of the galaxy. Beyond it was another world. And then we flew to the another world.

The output for the above paragraph will be: we flew to the