how would i go about making a program similar to a bill? for instance (but a little neater than my example, but u get the idea):

amount of blah used ----------------------------- 50000 blah

amount of blah blah used ------------------------ 348790 blah blah

amount of blaaah used -------------------------- 589284 blaaaaah

_________________________________________________________

price of used blah -------------------------------- $597.00

price of used blah blah --------------------------- $1,000.00

price of used blaaaah ----------------------------- $ 42,048.68

Total amount due -------------------------------- $ whatever

This isn't too hard if I dont misunderstand the question.
Just give the example of first line,
cout << "amount of blah used ----------------------------- " << money << " blah." << endl;

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.