I am trying to make a simple match program for my kids. I want to make it look as aesthetically pleasing as possible and I can not get the number to line up properly. I am a new c++ student so this question may be rather dumb but how do I get the output to line up so that the answer is vertical with the numbers in the problem?
As you're already using std::string, rather than define down5, down8, etc you could use std::string's fill constructor (string(size_t n, char c);) like this