Answer:
The statement is as follows:
cout <<fixed<< setprecision(3) <<sales;
Explanation:
Here, I assume that the variable has already been declared.
The syntax to use is:
cout<<fixed<<setprecision(n)<<variable-name;
In this case:
--- i.e. to 3 decimal places
And the variable name is: sales
So, when implemented, the instruction is:
Please check the attachment.
avg turnaround time = (38+7+42+33+18)/5= 27.6
avg waiting timee = (33+5+28+23+17)/5= 21.2
And its D, A C in Gantt chart at last and exit time are 33, 38 and 42 mentioned as last three in Gantt chart.
________