CIS 11: Data Structures & Algorithms
Project H
Complete programming project 13 from Chapter 9 of the text. Directions
are on page 468.
- In main() include a demonstration that the running time of the function is in O(log n). Make it interactive so the user can enter bases and exponents until s(he) wants to quit. The number of recursive calls should be reported along with the results of the computation.
- Name the source file power.cpp.
When you're satisfied with the program, submit your work via the CATE form for Project H .
Legend: method/function keyword literal
2007/03/29