Page 1 of 1

Write a program to input n (input from keyboard) strings of characters with the length unlimited (it is defined by the p

Posted: Mon May 02, 2022 2:27 pm
by answerhappygod
Write a program to input n (input from keyboard)
strings of characters with the length unlimited (it is defined by
the program, not by the compiler). Sort them in descending or
ascending order depending on the request input.
Attention:
These strings are sorted in ascending/descending by
the order of dictionary with deleting redundant characters in each
string: blank ‘ ‘, comma ‘,’ if they exist in string.