(April 23, 2016 at 11:37 pm)SteelCurtain Wrote: She did forbid all of that, in class. Standard library functions are allowed. abs() and pow() and whatnot.
I wouldn't have allowed that - I'd force you to do it with operators only. Mwhahahahaha....
(April 23, 2016 at 11:37 pm)SteelCurtain Wrote: My code ended up actually shorter than hers... Without my name/course/filename comment block at the beginning and not counting {}'s I am at 54 lines of code.
Efficiency!
True - but there's no point in optimizing that code.