#WSQ10 #TC1017

In this WSQ I used vectors for the first time.

I had to include the vector, cmath and numeric libraries.

To fill the vector with numbers I had to use pushback and to sum its elements, I used accumulate

check it out! 

https://github.com/edgarpruneda/TC1017./blob/WSQs/wsq10v.cpp

CC BY 4.0 #WSQ10 #TC1017 by Edgar Pruneda is licensed under a Creative Commons Attribution 4.0 International License.

Comments are closed.