<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:
the answer is 140 pieces of paper
Step-by-step explanation:
Perimeter= 2 ( length + width)
2×(12+6)
2×18
=36
I don’t know if you meant 7 hours or 7 1/2 hours, but if it was in 7 hours, the answer would be around 15 square feet. If it was 7 1/2 hours, it would be 14 square feet.
Answer:
x = 5
Step-by-step explanation:
Maybe you have ...
n(x) = 2x +7
and you want x for n(x) = 17.
17 = 2x +7
10 = 2x . . . . . . subtract 7
5 = x . . . . . . . . divide by 2