Question: Please write in C Language Description Please write a program to sort string. The rule of order as follow. cook greater the book javascript greater

Please write in C Language

Description

Please write a program to sort string.

The rule of order as follow.

cook greater the book

javascript greater then java

Input

The first line of input content an integer n (n < 100)

For next n line, each line content a string with only lower case letter.

Length of every string is less than 50.

Output

Output a string for a line inascending order.

Sample Input 1

5 look book cook javascript java

Sample Output 1

book cook java javascript look

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!