Write a program in ‘C’ that will accept 10 numbers from the
user, sort them & then perform the binary search. The
searching number will be arithmetic mean of the 10 numbers
accepted from the user.
Write the sort() & binSearch() functions for performing
the sorting & binary search. Also create display function()
for displaying the list.
Sort() function will use selection sort and only receive
one argument (Single char type)as type of sorting i.e.
ascending (a) or descending (d). Display the list after
sorting using a display() function.
binSearch() function will accept one argument as a number
to be search & return null or the index position of that
number in the array.
display() function is non argument non return type
function. It will simply display the list row-wise.
Program should use these functions by displaying the
appropriate message for found or not found.
No Answer is Posted For this Question
Be the First to Post Answer
how much the percentile as a good percentile in elitmus.
What is the allowable load carrying capacity of a circular column section of 400 mm diameter reinforced with 6x25 mm diameter bars adequately tied with spirals? Consider concrete of grade M25 and steel of grade Fe 415.
what are the examples of E-Based Applications?
basic difference between run time and compile time polymorphism
how to find out the name of the users who are currently working starting with the same characters in unix os
how will u recieve an std idoc from sendor->reciever
How would you design a gravity dam for holding back water?
reverse a number ( like 1234 into 4321) using malloc in C programming
is it possible to apply for visa interview in 4-1 sem for doing ms in usa
what is the difference between public static void main (String args[]) and static public void main(String args[]) in java?
if u have question papers/sample papers of any of PSUs,plz send me at dinesh.pandey3@gmail.com
Friends Any one tell me the best institute for the telecom protocol course