Huh what about the photo you gotta b
<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>
-41.
Explanation and show work:
Answer:
Step-by-step explanation:
Answer:
Seven-thirds
Step-by-step explanation:
The give equation is .
The leading coefficient is 9
The constant term is 7
According to the rational root theorem, the ratio of factors the constant terms to that of the coefficient of the leading term are all possible rational roots of the given polynomial.
Base on this theorem, or seven thirds is a potential root because the numeration is a factor of 7 and the denominator is a factor of 9.