<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>
Let the number of miles be x.
Then, x miles cost 0.6x.
The initial fixed fee is $5, and the toll is $5.
cost = initial fixed fee + cost per mile + toll
46 = 5 + 0.6x + 5
0.6x + 10 = 46
0.6x = 36
x = 36/0.6
x = 60
You can travel 60 miles.
Answer:
-60
Step-by-step explanation:
Distribute
6 x -3 = -18
6 x -7 = -42
-18 - 42 = -60
If my answer is right, please give it the brainliest.
<h3>I'll teach you how to solve 125 1/3</h3>
---------------------------------------------------
125 1/3
Convert mixed numbers to improper fractions:
125 1/3=
125*3+1/3=
376/3
Your Answer Is 376/3
plz mark me as brainliest :)
Solution: (3x + 4y - 3z) x (3x + 4y + 3z)