Answer:
yt
Step-by-step explanation:
The missing numbers would be 12-6
Answer:
slope: ½
y-intercept: -4½
Step-by-step explanation:
Slope: negative reciprocal of -2
-1/-2 = 1/2
y = ½x + c
-6 = ½(-3) + c
-6 = -3/2 + c
c = -6 + 3/2
c = -9/2 = -4½
<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>
B.4% at least that's what I got lol I did it at least twice in my head