QUIZ 2

In this Quiz we just had 2 exercises:

In the first exercise we had to ask for two numbers (a, b) and show the result of growing the first one to the second one. Example: (a=5, b=2) R=25
We could do this with the function Pow including the <math.h> library, or we can do it with the function For. I did it with Pow:

Captura de pantalla 2016-02-05 a las 10.54.38 a.m.Captura de pantalla 2016-02-05 a las 10.54.48 a.m.

In the second exercise we had to show the number of stars that we ingress. Example: cin=5 R=*****

Captura de pantalla 2016-02-05 a las 11.04.04 a.m.Captura de pantalla 2016-02-05 a las 11.04.16 a.m.

TC101

QUIZ

Wdnj5Vd_700wa_0

 

CC BY-SA 4.0 QUIZ 2 by josequirogablog is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.