sir I am not able to sort my answer as I am not storing it.please help
Dictionary Order(smaller)
Hi @Megha2468
try declaring a set globally of strings.
store all strings u r outputting in set.
and later output elements of sets later on.
for outputting use,
for(auto i:s){
cout<<i<<endl;
}
Hope dis helps.
sir I did it but got stuck
please correct the code