Wednesday, December 26, 2007

If its not one thing, its another

Sometimes I think I try to make my solutions to problems more elegant than needed. I encountered another hurdle in my quest, which sent me on a short detour. I will wait to share the problem, but I've attached a demonstration of the solution.

A demonstration of how to find the power of two that is less than or equal to the supplied value.

Not an exciting program, but reminds me of some of those groaner homeworks that I've had before.

No comments: