Answer:
7-m
Step-by-step explanation:
The difference of m and 2
m-2
5 minus the difference of m-2
5-(m-2)
5-m+2
Collect like terms
7-m
Answer:
1) 9
2) 34
Step-by-step explanation:
For the first one, it would be
= (6×3)/2
= 18/2
= 9
The second one is,
= 36- (12/6)
= 36 - 2
= 34
Hello there!
75 + 35 = 110
110 x 10% = 0.1
110 x 0.1 = 11 ( the 11 is your tax )
75 + 35 = 110
110 + 11 = 121
$121
Hope this helped!
83-63=20
So your answer is 20
<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>