Answer:
Step-by-step explanation:
1. 2( 2d + 2)
2.w + 12
<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>
Ksjdowjsjkajqjqjsjdksjsk A
Answer:
8
Step-by-step explanation:
{ }
{12} {13} {14}
{12, 13} {12, 14} {13,14}
{12, 13, 14}
Total: 8
4y + 228 = 352
4y = 352 - 228
4y = 124
--- ----
4 4
------------
| y = 31 |
------------
hope this helps