<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:
4. 21
5.120
Step-by-step explanation:
(the answer for #4
I added 5x+15 and 3x-3
and got
8x+12
and because we needed to find the value of x, l did this
8x+12=180
because interior consecutive angles equal 180
and I got 21
(answer for 5)
I then plugged 21 into 5x+15 because angle 1 is equal to it
5(21)+15
I got 120
Answer:
The number is 3000
Step-by-step explanation:
Is means equals
24 = 4/5 % *n
Lets change the percent to a decimal. To change percent, we move the decimal to places to the left.
4/5= .8
4/5 % = .8% = .008
24 = .008 *n
Divide each side by .008
24/.008 = .008n/.008
3000 = n
Answer:
Critical value: z = 1.28
The 80% confidence interval for the mean repair cost for the washers is between $46.487 and $82.033.
Step-by-step explanation:
We have that to find our
level, that is the subtraction of 1 by the confidence interval divided by 2. So:

Now, we have to find z in the Ztable as such z has a pvalue of 
So it is z with a pvalue of 1-0.1 = 0.9, so z = 1.28
Now, find the margin of error M as such

In which
is the standard deviation of the population and n is the size of the sample.
So

The lower end of the interval is the mean subtracted by M. So 64.26 - 17.773 = $46.487.
The upper end of the interval is M added to the mean. So 64.26 + 17.773 = $82.033.
The 80% confidence interval for the mean repair cost for the washers is between $46.487 and $82.033.