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
I want to join for load runner training..please suggest me which is the best institute for load runner training in bangalore?
What is Moore's law and what limits the size of a computer chip?
am a textile eng. frombut with major of my course including chemical eng, subjects, can i too apply to the co.?
Whet is KCFT and difference between CFM and KCFT
What is Mointer in Operating System?
successful command to make linux system as router in redhat-+
what are the differences between malloc() and calloc() in c language?
what is polymorphism?
my first question in huawei was ....1)Tell me about your self 2) oops concept 3)logic gates 4)ram and rom ,what is cache memory nd where it is located 5)diffrence between file system and data base 6) procedure of operating system 7)what is c# 8)high level language and machine language 9) and from mobile networkin !!!! hope thz will help you
Suppose you want to form a conceptual model of UML.What elements would you require for this purpose?
Explain what is meant by repetition of information and inability to represent information. Explain why each of these properties may indicate a bad relational database design.
what is inheritance
Civil Engineering (5086)
Mechanical Engineering (4456)
Electrical Engineering (16639)
Electronics Communications (3918)
Chemical Engineering (1095)
Aeronautical Engineering (239)
Bio Engineering (96)
Metallurgy (361)
Industrial Engineering (259)
Instrumentation (3014)
Automobile Engineering (332)
Mechatronics Engineering (97)
Marine Engineering (124)
Power Plant Engineering (172)
Textile Engineering (575)
Production Engineering (25)
Satellite Systems Engineering (106)
Engineering AllOther (1379)