Assume that the vector monthSales of integers has already been declared and that its elements contain sales data for the 12 months of the year in order (i.e., January, February, etc.). Write a statement that writes to standard output the element corresponding to October. Do not write anything else out to standard output.
.
.
Click on the title for the solution
.
.
cout << monthSales[9];
.
Click on the title for the solution
.
.
This is the answer:
:
cout << monthSales[9];
Comments
Post a Comment