A pattern worth the effort
So in the first semester of my CS degree, I was tasked to make a God-awful pattern where the logic behind each line and symbol was discombobulated and hurt to find inferences on the formulas used.
Here is the question we were given (in case you were wondering):

Just notice how, in some patterns, you repeat the pattern in the center but in most you dont, how in ones smaller than 15, there is no inner box of pyramidical numbers nor is there a second symbol.
There were a lot of restrictions in this as well (such as we couldn't use any user-defined or in-built functions) which lead to a more complex time for us.
The hardest thing in this would definitely be finding the patterns for the code because, as it stood, one can say the guy just hardcoded the answers.
But, in the end. with sheer willpower and mad grinding, I was able to come up with the greatest code ever (though redundant, it's because we had so many restrictions).
I've uplaoded the code in the code.cpp file in case you guys want to try it out and tweak things and create your own monstrosity.


