<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:
B
Step-by-step explanation:
Because the expression in b is saying whatever number n is say 9 then your subtracting 4 by N or like I said take 9 for an example which=5
hope it helps
Answer:
The revised drawing be larger or smaller than your original one
Step-by-step explanation:
The revised drawing be larger or smaller than your original one.
Because a drawing at a scale of:
- 1:10 means that the object is 10 times smaller than in real life scale 1:1
- 1: 8 means that the object is 8 times smaller than in real life scale 1:1
So it means the revised drawing be larger or smaller than your original one