https://github.com/estebanpinal/WSQ/blob/master/Quiz%20%236
Here’s the Github URL that contains both files of Quiz 6 https://github.com/Dragv/Quiz6/tree/master![]()

Here is the new quiz, I saw my error of the prog2 and now was corrected,
here are de codes:
Prog1 and Prog2

Here is the new quiz, I saw my error of the prog2 and now was corrected,
here are de codes:
Prog1 and Prog2
Al parecer estaba muy facil, solo que no sabia que existia una funcion que hace potencias que se llama “pow” PERO que necesita la libreria de cmath. https://github.com/marinaruelas/numbers/blob/master/q1.cpp![]()
Despues de la explicacion de la clase todo fue muy obvio y facil, pero pues porque ya sabia que para empezar no habia empezado el loop en 0 y detalles asi.
https://github.com/marinaruelas/numbers/blob/master/q2.cpp
Hi! This post is dedicated to a second attempt of several codes which was suposed to be done for a quiz. So the first code consisted of raising a givven number to a given power, by using longs and functions. There were several ways to archive this; but for the quiz I used a while loop, since it resulted easier to undestand. Here’s the fixed, funtional code with repercussion:
https://github.com/CarlosGallegosT/Codes007/blob/master/SuperPower
The second code consisted of printing a certain number of stars (*), which was determined by the user. For this code I attempted to use a for loop, which seems a bit more complicated bbut its actually more functional and structured. Here’s the code:
https://github.com/CarlosGallegosT/Codes007/blob/master/Stars
Thanks! And remember #ItsOkaytoFail
Image Source: http://www.gymaholic.co/motivation/J4Kc6Ktt/its-okay-to-fail-but-its-not-okay-to-give-up

For this quiz we had to create two programs. In the first one we had to write a function called superpower that has two parameters of type long and returns a long which is first parameter raised to the power… Continue Reading →![]()