Question: Directions Points The file must be called unit7Prog.cpp 1 Main Method Create Binary Search Tree that will accept integers in this order: 35, 18, 48,
| Directions | Points |
| The file must be called unit7Prog.cpp | 1 |
| Main Method Create Binary Search Tree that will accept integers in this order: 35, 18, 48, 72, 60, 25 Refer to page 537 Example 10-8 for example code. Ask user for input and search tree utilizing integer input. Return True if integer is found or False if number is not found in tree. Methods utilized are up to your discretion. See example below for desired output. Include: system("PAUSE"); after your output to pause the screen. | 70 |
| Ensure you include ALL .cpp file(s) and any associated, student-defined .h (header) files required to make your program compile and run. The only files in the dropbox should be .cpp and .h files. Do not turn in .zip, .exe, .rar, etc files. | 2 |
| Submit your page. NOTE: Complete your activity and submit it by clicking on the Submit Assignment link at the top right of this screen. | 3 |
| Total Possible Points | 76 |
| Example output of your program Enter Integer to search for: 12 False Enter Integer to search for: 60 True
|
int arr[] = (35, 18, 48, 72, 60, 25);
int arrSize = sizeof(arr) / sizeof(int); stree
cout << t.size() << endl;
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
