Joined
Last Seen
0 Reputation Points
0% Quality Score
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 4
- Posts with Downvotes
- 2
- Downvoting Members
- 3
0 Endorsements
Ranked #72.7K
Re:
hi, below is the code for binary search in case of array is sorted in ascending order. what changes i have to do if array is sorted in descending order. #include<iostream> using namespace std; void getdata (int a[], int size); int binarysearch (int a[], int size, int key); int main() … |
|
Re:
Hi, I would like to know the code for this problem: Write a program that asks the user to enter 5 numbers and display the numbers in descending order in iostream. |