I have done this based on the other post ....... all I need is too arrange the words entered
first the biggest word , then the smallest word and then the remaining word
please do tell me what ad to this
#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
using namespace std;
int main()
{
std:string str, str2, str3;
std::cin >> str;
std::cin >> str2;
std::cin >> str3;
std::cout<<str.length()<<std::endl;
std::cout<<str2.length()<<std::endl;
std::cout<<str3.length()<<std::endl;
std::vector<std::string> strarray[3];
system ("pause");
return 0;
}