Question: Explain what the following function does: ` ` ` void numEval ( const vector & V 1 , vector & V 2 ) { for

Explain what the following function does:
```
void numEval(const vector & V1, vector & V2)
{
for (int i =0; i V1.size(); i++)
{
if (V1[i]100)
V2.push_back("small");
if (V1[i]>500)
V2.push_back("large");
if (V1[i]>=100 && V1[i]=500)
V2.push_back("medium");
}
}
```
Explain what the following function does: ` ` `

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!