answersLogoWhite

0


Best Answer

If you are using an array : sort using qsort() then take middle element.

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Write c program to find median?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

How do you write a c program to find the smallest word in a string?

what is if(!(str[i]==32))


How do you Write A program in c language for checking a diagonal matrix?

Write a program in c++ that take input in a integer matrix of size 4*4 and find out if the entered matrix is diagonal or not.


Write a c program to generate student mark details using union and find total and average and grade?

write a c program to display marks,total,average,grade using union


How do you write a C program to find the Simple Interest?

Reference:cprogramming-bd.com/c_page1.aspx#simpleinterest


How do you write a c program to analysis a circuit?

There is no need to write a C program for circuit analysis; there are lots of packages out there that already do that (for example, Spice).

Related questions

How do you program an ungrouped median?

find median of n observation in c program


C program to find the mean median mode?

try this---> http://c-pgms.blogspot.com/2008/08/program-to-find-meanmedianand-mode_22.html


How do you write socket program in c?

For first find an example program.


Write a c program to find Volume and surface area of cube?

Write a c program to compute the surface area and volume of a cube


Write a c program to find eigenvalue of a matrix?

Yes, do write. That's what you always have to do when you have got a homework-program.


How do you write a c program to find a word in a string?

what is if(!(str[i]==32))


Write a C program to find sum of 3 matrices?

matrix


How do you write a c program to find the smallest word in a string?

what is if(!(str[i]==32))


How do you Write A program in c language for checking a diagonal matrix?

Write a program in c++ that take input in a integer matrix of size 4*4 and find out if the entered matrix is diagonal or not.


How to write a C program to find largest 2 numbers using pointers?

program to find maximum of two numbers using pointers


Do I need to write a program to find a substring in a given string in c plus plus?

No.


Write a C plus plus to find median and mode of a number?

The median and mode of any number is the same number. The mode of 5 is 5, as is the median of 5. In other words, you need two or more numbers to determine the median and mode of those numbers.