How to Align NumbersIs this what you wanted? [code]#include <iostream> #include <iomanip> #include <string> using names...
Alrighty the DISPLAY Pascal’s Triangle ChallengeWish I hadn't just seen this yesterday. [code] #include <iostream> #include <string> #include <vect...
Strictly Increasing Sequence of IntegersYeah, I should have tested against more values but at the time of writing I was at school and a bit ...
Strictly Increasing Sequence of IntegersFixed generic version [code] #include <algorithm> #include <iostream> template<typename T> bool sol...
Check if it's possible to make an integer array strictly ascending by removing a single elementHere is a generic method which looks nice. [code] #include <algorithm> #include <iostream> templat...