Mean = (14 + 16 + 7 + 9 + 11 + 13 + 8 + 10) ÷ 8 = 11
Variance =
[ (14-11)²+(16-11)²+(7-11)²+(9-11)²+(11-11)²+(13-11)²+(8-11)²+(10-11)² ]/7 = 9.71
Answer: 9.71
Answer: x = -2
Step-by-step explanation:
Answer: -11 divided by 4 , 11 divided by -4 , -11/4 , 11/-4 ,
Step-by-step explanation:
I got it right on iready
<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>