Answer:
<em>The base is 24 cm long.</em>
Step-by-step explanation:
<u>Equations</u>
Let's call
b= base of the triangle
h=height of the triangle
The base is 9 cm longer than the height, thus:
b = h + 9
The area of the triangle is:


And its value is 180:

Multiplying by 2:

Operating:

Factoring:

The only valid positive solution is:
h = 15 cm
And b = h + 9 = 24
b = 24 cm
The base is 24 cm long.
<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>
20 - 2n
Difference means taking away
Two times a number means whatever n is it is multiples by 2 and subtracted from 20
Answer:
<h2> . . .................. </h2>
Step-by-step explanation:\