Answer:
Number of red balls = 5 Number of orange balls = 2
Number of yellow balls = 1
Number of green balls = 2
Therefore total number of balls = 10.
Probability of getting a ball = P(choosing orange ball) = After picking an orange ball, we are left with 9 ballsP ( choosing a green ball) = P(choosing an orange marble and a green marble) = 0.04444 is the approximate probability of choosing an orange marble and a green marble.
Step-by-step explanation:
Answer:
it's related by product of 5/3 and directly proportional
<span>4^4 ⋅ 4^−9 = 4^(4-9)
</span>= 4^-5
1 / (4^5)
Answer: fraction 1 over 4 to the power 5
N-2.5 represents the cost for each shirt being subtracted by $2.50 due to the coupon
<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>