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

Post New Answer

More Engineering AllOther Interview Questions

hi...sir, i have passed my 10th from I.C.S.E. board with 64% and my 12th with 71%( i have passed my 12 th in the second year...1 year back)...and in engineering i took computer science ..but i am having back in 1st sem and 2nd sem too...i have completed my 3rd sem in pes school of engineering...will i be eligilble to get placed in any companies...if so, what are the requirements for multi national companies like yahoo,google,microsoft and e.t.c....at present my aggregate is 63%...pls help me??

2 Answers   HCL,


how to find out the name of the users who are currently working starting with the same characters in unix os

0 Answers  


i am student of computer science and engineering iam in 4th year suggest me about my feature?

3 Answers  


Five circle- adjacent to each other in ascending order, first dia 8 and last dia 18, find mid one.

4 Answers   3D PLM,


write a program for input is 56 output will be 5+6=10?

2 Answers   Infosys,






MILITARY ENGINEER SERVICES

1 Answers   MES,


why dijkstra algorithm not used for negative weighted edges graph??

0 Answers  


what are the steps u follow to create an custom idoc program in which environment u create the program?

0 Answers   HCL,


Prepare the UGC CSIR net question papers those are enough. The question paper will be of 50 questions in size each 3 marks and with a negative of -1 for each wrong answer

0 Answers   Ecil,


WHAT ARE THE ADVANTAGE OF SYSTEM ENGINEER

0 Answers  


hi this is amit..please help me to out this problem Objective 8: Create Resources (Function libraries) Requirements: Create a new order with the Flight Reservation application. 33. Use the script created above. 34. Write a function using VBScript that will take a date as an input and add 10 to it. i.e. if the date is passed as “15/08/2008” then after adding 10 it should become as “25/08/2008” 35. Use this function to parameterize the step used to enter “Date of Flight” 36. Run the pack thanx & regards

0 Answers   Datamatics,


What is saturation point?

1 Answers  


Categories
  • Civil Engineering Interview Questions Civil Engineering (5085)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4451)
  • Electrical Engineering Interview Questions Electrical Engineering (16632)
  • Electronics Communications Interview Questions Electronics Communications (3918)
  • Chemical Engineering Interview Questions Chemical Engineering (1095)
  • Aeronautical Engineering Interview Questions Aeronautical Engineering (239)
  • Bio Engineering Interview Questions Bio Engineering (96)
  • Metallurgy Interview Questions Metallurgy (361)
  • Industrial Engineering Interview Questions Industrial Engineering (259)
  • Instrumentation Interview Questions Instrumentation (3014)
  • Automobile Engineering Interview Questions Automobile Engineering (332)
  • Mechatronics Engineering Interview Questions Mechatronics Engineering (97)
  • Marine Engineering Interview Questions Marine Engineering (124)
  • Power Plant Engineering Interview Questions Power Plant Engineering (172)
  • Textile Engineering Interview Questions Textile Engineering (575)
  • Production Engineering Interview Questions Production Engineering (25)
  • Satellite Systems Engineering Interview Questions Satellite Systems Engineering (106)
  • Engineering AllOther Interview Questions Engineering AllOther (1379)