0

Program to set the peoples in a line according to in alphabetical order of their names

input is the name peoples Output should be that peoples are arranged in a line according to their name Like. Input - manjit aman zaraman kamal dev & output 1 aman dev kamal manjit zaraman Use any type of data structure

13th Feb 2021, 2:44 PM
Manjit Singh
Manjit Singh - avatar
6 Respuestas
+ 8
Manjit Singh , there is some information missing. ▪︎do you want to use C or C++? you have mentioned both ▪︎what kind of data structure you want to use? array, list,... ▪︎are you asked to implement a sort algorithm done by yourself or can you use a method / function provided by the language? but before we can help you, you should have done a try by yourself first. please put your code in playground and link it here. thanks!
13th Feb 2021, 3:25 PM
Lothar
Lothar - avatar
+ 3
Qool task. Please link your attempt first and let us know your question to it.
13th Feb 2021, 3:23 PM
JaScript
JaScript - avatar
+ 3
Manjit Singh both aren't similar , c++ extends c by including oop concepts and have different way to implement some things, so you need to be clear about the language and if you don't know then go read about basic c and c++ first. Also answer the questions asked by Lothar.
13th Feb 2021, 4:00 PM
Abhay
Abhay - avatar
0
I don't know Very well that how can i solve it
13th Feb 2021, 3:25 PM
Manjit Singh
Manjit Singh - avatar
0
Actually i m working on a project & this type of problem that mentioned 👆 need t to be solved
13th Feb 2021, 3:29 PM
Manjit Singh
Manjit Singh - avatar
0
I have mentioned c & cpp both bcz i think they are similar
13th Feb 2021, 3:33 PM
Manjit Singh
Manjit Singh - avatar