Here’s my code, maybe it’s ugly but it works 😉
GitHub code: https://github.com/luisduartepalacios/WSQ12/blob/master/WSQ12.cpp
#WSQ12 – A01631728 – HOMEWORK by luisduartepalacios is licensed under a Creative Commons Attribution 4.0 International License.