30 pts., due Feb. 14
Write C++ functions to solve each of the following problems. Use pre- and
post-conditions for documentation. Construct a loop invariant for each
- Factorial of n.
- Determining the smallest value among n integers.
- Bubble sort of n integers.
- Determining the second smallest value among n integers.
Thomas P. Kelliher
Thu Feb 6 14:19:05 EST 1997