<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:
9,000
Step-by-step explanation:
1 km=1,000
9*1,000=9,000
Answer:
Dimensions → (5 inches × 4 inches)
Step-by-step explanation:
Scale factor used for the drawing by Steffie = 
Since, scale factor = 
For Steffie,
Actual length of the crate = 
= 
= 45 inches
Actual width of the crate = 
= 36 inches
Since Brian used the scale factor = 
Length of the drawing = Actual length × Scale factor
= 45 × 
= 5 inches
Width of the drawing = Actual width × Scale factor
= 36 × 
= 4 inches
Therefore, dimensions of the drawing made by Brian are (5 inches × 4 inches)
5x + 50 +x
= 5x*2( square ) + 50
−2x + 3y + 5z = −21
−4z = 20
6x − 3y = 0
do -4z=20 first
divide both sides by -4 to get z by itself
-4z/-4=20/-4
z=-5
Use z=-5 into −2x + 3y + 5z = −21
-2x+3y+5(-5)=-21
-2x+3y-25=-21
move -25 to the other side
sign changes from -25 to +25
-2x+3y-25+25=-21+25
-2x+3y=4
6x-3y=0
find x by eliminating y
Add the equations together
-2x+6x+3y+(-3y)=4+0
-2x+6x+3y-3y=4
4x=4
Divide by 4 for both sides
4x/4=4/4
x=1
Use x=1 into 6x − 3y = 0
6(1)-3y=0
6-3y=0
Move 6 to the other side
6-6-3y=0-6
-3y=-6
Divide both sides by -3
-3y/-3=-6/-3
y=2
Answer:
(1, 2, -5)