- 3
Any give code for this question
You are a software engineer at an MNC. You are given the task of sorting the employees in your company based on their salary. Perform the task so that the employees, including yourself, will get a bonus from the management. CONSTRAINT: 0<=salary<=1000000 Input Description Number of employees followed by their name and salary Output Description Sorted list of employee names
6 Answers
+ 3
If someone solve this problem insted of you, you cant learn.
Try to solve it, and if you have some problem, then you link your try, and we will be helping you.
But if you dont try to solve it, you just give up.
DONT GIVE UP, AND DONT CHOICE THE EASYEST WAY TO SOLVE YOUR PROBLEMS
If you try to solve your challenges, and you get some error, you dont wast time, because the people learn from own errors, mistakes
+ 1
Thks for motivating me bro.. i m fully blank on this sooo
+ 1
G'day Niranjan U it is ok to be wondering how to start a new project. Stress = care, so that means you want to do well!
My technique starts with trying to write the program instructions and program output in a more "code like" way, I call it psuedocode. Can you have a go at that (post it here for us to have a look at your logic)?
If that is also overwhelming, I often start with just the output. Do you know what they want you to output?
+ 1
Give an input examples
0
Sample Input
3
Karthik 23000 rohan 81734 varshini 12343