So many items, we might forget something…

WSQ10

vector <string> shopping_list “Shopping list” by Ex-Smith. Link: https://www.flickr.com/photos/ex-smith/3797903995/

Using lists with arrays and vectors is quite easy, but here we need to combine that knowledge with our knowledge of functions and mathematics… oh and C++. Almost missed that one. Doing it with arrays was easy, so I wanted to do it with vectors and asked for help from Montse Bernal, whose code structure I used to make the program work. It was very useful to use the numeric and cmath libraries for this WSQ.

Without further ado, here’s the link for WSQ 10.

CC BY 4.0 WSQ10 by Alan S. Olalla is licensed under a Creative Commons Attribution 4.0 International License.