Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CS 4th sem mini project
05-01-2016, 09:57 AM,
CS 4th sem mini project
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

Forum Jump:

Return to Top