Need help C++ Project!

Pages: 12
closed account (D80DSL3A)
You can adjust how the number appears using stream manipulators. I see you already have #include<iomanip> so you are set.
If you want the number to appear as 1696515.00 (appropriate for a dollar amount) then substitute this for line 89 of your above code:
 
cout << "This is the Total Revenue: " << fixed << setprecision(2) <<  totalRev_Calculation << endl;

Check out this sites reference section to learn more about the iomanip library.
Oh yeah, already bookmarked. I appreciate all the help! Everyone who pitched in.
Topic archived. No new replies allowed.
Pages: 12