I am trying to create columns. The code setw works for the first 2 outputs, however on the third output it does not effect that text at all, while the code is the exact same as the 2 prior.
The width()/setw() manipulators will only add "spaces" when the variable has fewer characters than the width() value. Since both the Minimum and Maximum text has over 20 characters the width() call doesn't affect the output.
By the way you can use setw() in conjunction with setfill() to add your dashes.