It's actually really easy, once you get it you probably won't forget. Here's an example of what I believe you are aiming for :
cout << WORDS << setw (10) << $AMOUNT << endl;
You're going to have to include <iomanip> as one of the libraries, that's the library that will manipulate the data to display how you see fit. I hope this helps! :)