How to sort string names with int serial number attached to them in cpp

You are given a word document in that there will be list of employees name will be unordered, you have to arrange the list of employee in the alphabetical order . TEST CASE INPUT 6 Thomas 26 Sithik 32 Milton 45 Hrithik 60 Ayush 52 Aswathy 22 OUTPUT After sorting Name ID Aswathy 22 Ayush 52 Hrithik 60 Milton 45 Sithik 32 Thomas 26

Author: SarthakHaldar
Login to Answer
Sort By:
Oldest
|
Newest
|
Vote
|
My Answer