subject

Write a program to accept 10 different whole number from the user and store them in a
single dimensional array. Assume that the user enters the numbers in ascending order. Ask
the user to enter a number to be searched. By using Binary Search technique, check whether
the number to be searched is in the array or not. If the number is present then display the
message “Search successful.” otherwise display “Search unsuccessful”.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 18:00
Suppose an astronomer discovers a large, spherical-shaped body orbiting the sun. the body is composed mostly of rock, and there are no other bodies sharing its orbit. what is the best way to categorize this body? a. planet b. moon c. comet d. asteroid
Answers: 1
question
Computers and Technology, 24.06.2019 12:30
Select all that apply. what two keys listed below should you use to enter data in an excel worksheet? tab backspace enter right arrow
Answers: 2
question
Computers and Technology, 25.06.2019 03:30
Kou converged his word document to a powerpoint document. when he received the powerpoint, he was missing material. which most likely explains why the material was missing? a it did not have a proper heading b he incorrectly copied and pasted it c he did not save his document properly d there was not enough space in powerpoint
Answers: 1
question
Computers and Technology, 25.06.2019 08:00
Which of the following statements is true of an intranet? it is a network where a computer is connected to the internet and acts as a gateway for other devices.it is a widely available public network of interconnected computer networks.it is a network that covers a wide area with the of rented telecommunication lines.it is a network within an organization that uses internet protocols and technologies.
Answers: 3
You know the right answer?
Write a program to accept 10 different whole number from the user and store them in a
single d...
Questions
question
Mathematics, 09.10.2021 14:00
question
Engineering, 09.10.2021 14:00
question
Mathematics, 09.10.2021 14:00
Questions on the website: 13722362