Question: 4.Complete the C++ instructions column in Figure 4-31. C++ instructions int quantity = 0; double total = 0.0; IPO chart information Input quantity total cost
4.Complete the C++ instructions column in Figure 4-31.

C++ instructions int quantity = 0; double total = 0.0; IPO chart information Input quantity total cost Processing none Output cost per item double itemCost = 0.0; Algorithm: 1. enter the quantity and total cost cout > quantity; 2. calculate the cost per item by dividing the total cost by the quantity 3. display the cost per item cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
