Do – Quiz #2

Hey there, here is how I did my quiz, I use the learned from the On to the function, and I use to base myself on the code that our teacher show us for the function and then I write the code so it can work with the function. I did use do-while, and the program exit when the counter of loops reacher the same amount of the exponential number. Until the loop was running it multiply the ans of the past multiplication for x number that was imputed.

Here I leave you images of the console running and the atom editor:

Click to view slideshow.

Here I leave you the code in github:

https://gist.github.com/batmantec/3dbd1fde9e5bf46899cd

CC BY-SA 4.0 Do – Quiz #2 by batmantec is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.