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
tcp/ip is ---bits
A polynomials in mamory can be represented by____________
what is debugging?
What is success factors online trainings?
hi friends i am first time using this site.i came to by some tcs personals that certifications r important for placements.i am financially average i am learning java from books.please tell is it enough if not which certification should i go for
Describe VCO?
A family, planning a weekend trip, decides to spend not more than a total of 8 hours driving. By leaving early in the morning, they can average 40 miles per hour on the way to their destination. Due to the heavy Sunday traffic, they can average only 30 miles per hour on the return trip. What is the farthest distance from home they can plan to go? (EXPLAIN WITH PROPER STEPS)
HI!I AM A STUDENT OF B.TECH 3RD YEAR.I PASSED SECONDARY EXAM IN 2001 & HIGHER SECONDARY EXAM 2003.BUT I DROP 1 YEAR AND ADMITTED IN B.TECH 2004 DUE TO FINANCIAL CRISIS.WHEN INTERVIEWER LOOK AT MY C.V HE WANT 2 KNOW WHAT U DID IN THAT MISSED YEAR? I GET PUZZLED 2 ANSWER THIS QUESTION AS I CAN NOT FIND ANY BOLDER ANSWER.PLZ SUGGEST ME SOME BOLD ANS. THAT INTERVIEWER CAN NOT FIND ANY COUNTER QUARY.... 0 2
can any one please tell me what is mean by back papers,back log,historical standing ????????? this mean history of arrears is it correct or not.........
suppose it takes 100 ns to access page table and 20 ns to access associative memory. if the average access time is 28 nano seconds the corressponding hit rate is: a) 100% b) 90 % c) 80 % d) 70%
what are the uses of copper, how it is mined
What is the definition of gain?