answersLogoWhite

0


Best Answer

void main()

{

int array[10];

int i, j, N, temp;

int findmax(int b[10], int k); /* function declaration */

void exchang(int b[10], int k);

clrscr();

printf("Enter the value of N\n");

scanf("%d",&N);

printf("Enter the elements one by one\n");

for(i=0; i

{

scanf("%d",&array[i]);

}

printf("Input array elements\n");

for(i=0; i

{

printf("%d\n",array[i]);

}

/* Selection sorting begins */

exchang(array,N);

printf("Sorted array is...\n");

for(i=0; i< N ; i++)

{

printf("%d\n",array[i]);

}

} /* End of main*/

/* function to find the maximum value */

int findmax(int b[10], int k)

{

int max=0,j;

for(j = 1; j <= k; j++)

{

if ( b[j] > b[max])

{

max = j;

}

}

return(max);

}

void exchang(int b[10],int k)

{

int temp, big, j;

for ( j=k-1; j>=1; j--)

{

big = findmax(b,j);

temp = b[big];

b[big] = b[j];

b[j] = temp;

}

return;

}

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Source code in c project on HR management?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the difference between project stakeholder management and project human resource management explain?

Human Resources Management applies to the entire organisation, and includes many roles not found in Project Management, such as recruitment, termination, training and development, etc.Project Stakeholder Management is the HR side of Project Management. It's on a much smaller scale (the size of the particular project).Source(s):Diploma of Business Diploma of Human Resources Management


How future of MBA in project management?

The future of Project Management MBA is quite bright. Mostly students pursue their MBA in marketing, finance or HR. The count of Project Management MBA's is very low.


What can HR Cruse provides?

HR Cruse &amp; Associates, LLC is a human resources management and consulting company that provides HR outsourcing and project support


What are some good HR topics for a project?

Performance appraisal in Organizations and Strategic Planning in an Organization are some of the human resource topics for a project. The Analysis of Employee Welfare and the Role of HR During Recession Among Employee Management are some other HR topics for a project.


What are the branches of project management?

Here they are (all 9 of them): * Scope management * Time management * Cost management * HR management * Quality management * Risk management * Communications management * Procurement management * Integration management


Questionnaire for hr project in stress management?

An HR project in stress management would include questions about the mental health and amount of stress a person goes through. These questions could include amount of stress in the person's life and how they handle that stress (i.e.: exercise).


Explain what HR management is and how it relates to the management process?

explain what HR management is and how it relates to the management process


What is the meaning of stratagic management of HR Manager?

what is the meaning of stratagic management of HR Manager


What are the role of HR management in technology?

Companies that hire and retain the best people for the work are the best companies to work in. HR management are the people who hire and motivate the best people as they are the best people in HR


What are new topics for human resource management for summer training project report?

There are plenty of topics in human resource management for summer training project report. However, sometimes it is best to ask the HR department of the company on their pressing issues, which will give you a great list of topics to choose from.


What are two examples of human resources?

Any project that relates to the procurement, sustenance, development, and termination of the human factor in an organization is a HR project. It might include HR palnning, recruitment, selection,performance management, industrial relations, Growth and development.


MBA HR project on recruitment process in consultant agency?

sir my project is HR-recruitment in php but i have no metter for study can send me documentaion me HR-recruitment. BUT FIRST SUCK ON GOT EEMM