Dimm has to write some proggie for his sped CS class that reverses a number, such that if 1234 were entered, 4321 would be returned. Dimm had some bloated implementation using loops that he dug up from his Trumbo days, but I think I just wrote a more eloquent (if not obfuscated) version:
int ReverseNumber(int n)
{
if(n < 10
(
Read more... )