<span>#include <iostream>
using namespace std;
class InventoryTag {
public:
InventoryTag();
int getQuantityRemaining() const;
void addInventory(int numItems);
private:
int quantityRemaining;
};
InventoryTag::InventoryTag() {
quantityRemaining = 0;
}
int InventoryTag::getQuantityRemaining() const {
return quantityRemaining;
}
void InventoryTag::addInventory(int numItems) {
if (numItems > 10) {
quantityRemaining = quantityRemaining + numItems;
}
}
int main() {
InventoryTag redSweater;
int sweaterShipment = 0;
int sweaterInventoryBefore = 0;
sweaterInventoryBefore = redSweater.getQuantityRemaining();
sweaterShipment = 25;
cout << "Beginning tests." << endl;
// FIXME add unit test for addInventory
/* Your solution goes here */
cout << "Tests complete." << endl;
return 0;
}</span>
Answer:7996.33774627 rounded to the nearest ten is
Step-by-step explanation:8,000, hope this helps
Answer:
The cost would be 22.75
Step-by-step explanation:
To find the cost of each topping, we simply take the excess cost and divide it by the number of toppings. To find the excess cost, take the new cost and subtract the original cost.
17.50 - 14.00 = 3.50
Now divide that by the amount of toppings.
3.50/2 = 1.75
Now we can multiply the new number of toppings by that amount and add the cost of the pizza.
5(1.75) + 14.00
8.75 + 14.00
22.75
Answer:
1,363.5
Step-by-step explanation:
$15.15 ×6 =90.9(for Thu,Fri,sat)
15.15×24=363.6(for other days)
90.9×3=272.7(total for Thursday, Friday and Saturdays)
363.6× 3( include other days like Monday Tuesday and Wednesday)
1,090.8
therefore total for 6hours days and full days
1,090.8+272.7=1,363.5