Answer:
The second one.
Step-by-step explanation:
The pattern is red with 0 arrows, blue with 1 arrow, red with 2 arrows, so it would be blue with 3 arrows.
<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>
Answer: -4/5 or -0.8
Step-by-step explanation:
m= change in y / change in x
-4/ 5
Answer:
5 days
Step-by-step explanation:
Sohan can do the whole thing in 10 days
he worked 5 days so he did half
and Mohan did the other half in 5 days
so their speeds are same
so if they worked together they'd do it in half the time
i.e 5 days