<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>
I think the answer would be 15, 8•15=120, leaving 3 points left which would be an multiple choice question, hope this helps:))
Answer:
-10y+42.
Step-by-step explanation:
Distribute.
8y-18y+42
-10y+42
:D I hope this helped you!
120/4=30. Remember its widthxlength. if you forget ask your teacher or look online for more help. Good luck.
From the left

the function is clearly approaching 5, while from the right

it is approaching -2.