Hi! Please draw a detailed flowchart for the problem below and then type a Python code using the flowchart. Please make sure Python and the flowchart have the same steps and are exactly the same process. And the flowchart symbols should be used correctly. And the instructions in the picture should all be followed, especially the one that said, "Do not use a built-in search function. Develop it."
Thanks
Searching: Design an application that has an array of 23 integers. It should call a module (seqSearch) that uses the sequential search algorithm to locate the specified value. The module should keep a count of the number of comparisons it makes until it finds the value and pass that back to the main/calling module. Then the program should call another module (binSearch) that uses the binary search algorithm to locate the same value. It should also keep a count of the number of comparisons it makes and pass that back to the main/calling module.
User Inputs:
- 23 integers
- Integer to search for
Processing:
- Prompt the user for, read in, and store 23 integers in an array b.
- Prompt the user for and read in the search value.
- Do not use built-in search functions. Develop them.
- Perform a sequential search of the array for the search value and count comparisons.
- Perform a binary search of the array for the search value and count comparisons.
- Print the 23 integers entered and the search value.
- State whether the integer you were searching for was found.
- Print how many comparisons were required for the sequential search.
- Print how many comparisons were required for the binary search.
Outputs:
Notes/Hints:
- Always use meaningful variable names.
- Always print descriptive labels on the outputs.