<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:
x = -10/13
Step-by-step explanation:
10x + 7 = -3x - 3
Add 3x to both sides
10x + 3x + 7 = -3x + 3x - 3
13x + 7 = 0x - 3
13x + 7 = -3
Subtract 7 from both sides
13x + 7 - 7 = -3 - 7
13x + 0 = -10
13x = -10
Divide both sides by 13
13x ÷ 13 = -10 ÷ 13
1x = -10/13
x = -10/13
Answer:
c
Step-by-step explanation:
3 and 3/7 ok hope it helps