There will be times you will be asked to fix or modify someone's code. In this project you are asked to fix and modify a demo program (link below.)
Fix the bugs in the code used by this projects. Modify the code to replicate the output (link below).
After the program is working, substitute The UTF-8 strings (elbow, tee, pipe, blank) found HERE .
Document the code by adding comments in the code. They should say what the code is doing. The code itself is the low level documentation.
a. Modify the function "print_dash_tree()" to
b. Modify the program (or create a new one) to allow a user to select the modifications and display the results of the function "print_dash_tree()".
Fix the code to support single characters and integers as the input list. (Only characters or integers. Not both at the same time.)
Fix the code to support an input list of strings. (words?)
Randomly generate an input list. Set reasonable limits of length, type, etc.
Display a balanced tree of the random input list
Read the list from a file? Read a text file, find the unique words, and use them as the input list?
Can you printed trees vertically instead of horizontally? (Limit the maximum width of a line (row) to 80 characters.) For example:
Note: