72 417
Assignments Done
Successfully Done
In April 2019

Answer to Question #2160 in C++ for Michele

Question #2160
I am sending the numbers 5020, 351, 5371 to the following funtion. I want this function to display 50.20, 3.51, 53.71, but it keeps displaying 50.00, 3.00, 53.00. HELP!void displayInvoice(int subTotal, int tax, int total) { float sub, t, tot;
cout<<< fixed<<<"

Your Invoice Statement:
cout<<<" Subtotal: $ "<<<"
cout<<" Tax: $ "<<<"
cout<<" ------------
cout<<" Total: $ "<<<"
Expert's answer
Submit all your requirements as an assignment to our control panel set the deadline and our experts will assist you.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


No comments. Be first!

Leave a comment

Ask Your question

Privacy policy Terms and Conditions