Answer:7881 years
Step-by-step explanation:
You can use the equation
fraction remaining = 0.5n where n is # of half lives elapsed
n = ?
fraction remaining = 1 - 0.612 = 0.388
0.388 = 0.5n
n = 1.37 = the # of half lives
1.37 x 5750 yrs = 7881 years
<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>
6/7 × 4 would be the correct answer. This is because 6/7 × 4= 3 3/7 which is equal to 4/7 × 6= 3 3/7. No other expression would equal 4/7 × 6