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 19:20
Write a program that reads a file consisting of students’ test scores in the range 0–200. it should then determine the number of students having scores in each of the following ranges: 0–24, 25–49, 50–74, 75–99, 100–124, 125–149, 150–174, and 175–200. output the score ranges and the number of students. (run your program with the following input data: 76, 89, 150, 135, 200, 76, 12, 100, 150, 28, 178, 189, 167, 200, 175, 150, 87, 99, 129, 149, 176, 200, 87, 35, 157, 189.)
Answers: 3
question
Computers and Technology, 22.06.2019 21:30
The salespeople at hyperactive media sales all use laptop computers so they can take data with them on the road. you are a salesperson for superduper lightspeed computers talking to hyperactive media sales about upgrading the laptops to windows 10. explain how network location awareness in windows 10 would make the laptops more secure.
Answers: 3
question
Computers and Technology, 24.06.2019 01:30
Hazel has just finished adding pictures to her holiday newsletter. she decides to crop an image. what is cropping an image?
Answers: 1
question
Computers and Technology, 24.06.2019 17:40
Write a program that begins by reading in a series of positive integers on a single line of input and then computes and prints the product of those integers. integers are accepted and multiplied until the user enters an integer less than 1. this final number is not part of the product. then, the program prints the product. if the first entered number is negative or 0, the program must print “bad input.” and terminate immediately
Answers: 2
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
English, 25.10.2021 19:30
question
History, 25.10.2021 19:30
question
Mathematics, 25.10.2021 19:30
question
Mathematics, 25.10.2021 19:30
question
Mathematics, 25.10.2021 19:30
question
Mathematics, 25.10.2021 19:30
question
Mathematics, 25.10.2021 19:30
question
Mathematics, 25.10.2021 19:30
Questions on the website: 13722361