I had some issues with this because I had never programmed in C++ and I did´t even know how to begin. I had a problem compiling because I forgot to type “endl” at the end of some commands (dumb me), anyways here it is.

– Remember if you want to output text, it has to be written in between “”.

– “int” is used to display whole numbers (without decimals)

– Remember that to run the compiled program on windows you have to type ./a.exe , If you use another operating sistem (like the one used on the exam) , you have to use ./a.out

CC BY 4.0 #WSQ03 – Fun With Numbers by Ricardo Newton is licensed under a Creative Commons Attribution 4.0 International License.