Hi Guys!!
I want to output a total, that is right justified, but I just can't seem the code to work!!!
This is what I have:
cout << "Room charge is:" << setw(8) << setiosflags(ios:: right) << setiosflags(ios::showpoint) << setiosflags(ios:: fixed) << setprecision(2) << roomCharge << endl;
Am I doing' something very wrong!? I have #include <iomanip> up top of my code, so I can't figure it out!!
Can anyone help?!
Cheers,
Claire