<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>
If u wrote 9 to the power of - 2 and x to the power of - 1 and y to the power of 0 and write the x at then end it would end up a fraction of 1/81 but I'm not sure what u want like multiply?
X would equal 10. Hope this helps!
Answer:
A two-column geometric proof consists of a list of statements, and the reasons that we know those statements are true. The statements are listed in a column on the left, and the reasons for which the statements can be made are listed in the right column.
Answer:
y^2 - 10y + 25
Step-by-step explanation:
(y - 5)^2 =
(y - 5) • (y - 5)
Multiply y times y
y^2
Add 5 and 5
10
Multiply 5 and 5
25
Add these terms together
y^2 - 10y + 25