Answer:
Replace /* Your code goes here */ with
for(i =0; i<NUM_VALS; i++)
{
printf("%d", origList[i]*offsetAmount[i]);
printf(";");
}
Explanation:
The first line is an iteration statement iterates from 0 till the last element in origList and offsetAmount
for(i =0; i<NUM_VALS; i++)
{
This line calculates and print the product of element in origList and its corresponding element in offsetAmount
printf("%d", origList[i]*offsetAmount[i]);
This line prints a semicolon after the product has been calculated and printed
printf(";");
Iteration ends here
}
Answer:
/28 -- 16 Subnets -- 14 Hosts/Subnet
14*16 = 224 hosts
Explanation:
see https://www.aelius.com/njh/subnet_sheet.html
A program that initializes a vector with the following string values: “what” “book” “is” “that” “you” “are” “reading” are the usage of namespace std;int main().
<h3>What is a vector software program?</h3>
Vector images software program permits customers to layout and manages pc photos the usage of geometric and mathematical commands, instead of clicks and strokes as utilized in drawing software program. Vector photos created the usage of those applications may be scaled indefinitely with out dropping quality.
- #include
- #include
- #include
- the usage of namespace std;
- int main()
- ;
- vector::iterator it;
- for (it = vs.begin(); it != vs.end(); it++)
- string tmp;
- while (cin.get()!='n')
- for (it = vs.begin(); it != vs.end(); it++)
- }
Read more about the vector :
brainly.com/question/25705666
#SPJ1
More than one contact can be added to the group at a time.