On to Functions

This program is like one in the WSQ03 but this time we have to add functions to each one.

Had a little problems because I didnt know how to add functions but I read in cplusplus.com something about functions and then I look for a youtube video so taht I can make it rigth, below I attacht the links to the cplusplus webpage of functions and the youtube video for your need.

http://www.cplusplus.com/doc/tutorial/functions/

So here I have my Atom for you to see how it looks

functions

functions1

Then I show you the terminal page to you to see how the program works

functions2

Check my code here on Github.

Sum of Numbers

In this program the user had to give to numbers and it has to make the sum of the number that are in range to give us a integrer number.

I check a video on youtube, here is the link to that video https://www.youtube.com/watch?v=9YpR9JecQWw hope it works.

Here we have the Atom page where I edit my program

sumofnumbers

And here I have my Cygwin to see how the program works, I make a mistake option if the user enters a bigger number in the first number. If you make this mistake you have to do it again.

sumofnumbers1

Here I have my code on Github https://github.com/EduardoBarrera7/TC101/blob/master/Sum%20of%20Numbers

Quiz #2

For this quiz the program ask a base number and another number that you want to elevate the base number to the second number.

I search for help in cplusplus.com to look for a formula to make the exponent.

superpower1

Then I  apply it and at the end it work!!

Here is my code on Atom of both programs

superpower

And here the stars part

starquiz

And here is where it shows how the programs work

superpower3

The stars part star1

You can check my code here on Github.

 

 

 

Flipped learning

Este blog lo voy a escribir en español. Yo creo que “Flipped Learning” es una manera moderna que exige a los estudiantes estudiar por nuestra cuenta, de alguna manera puede ser una arma de doble filo, si a un estudiante lo pones a trabajar por si solo y sin calificación, este puede que trabaje normal como lo debería de hacer o simplemente no haga nada. Este tipo de aprendizaje demanda una gran responsabilidad.

descarga

Temperature

This program works by asking some temperature in Fahrenheit and then convert it to Celsius. This program was not so easy but not very hard, so here i have my program in Atom.

temperature

I have a very dumb problem because when I thought that it was done, I did it as the other two, I compile it and try to run it,  but when I tried that there was not a response with the temperature in Celsius, jaja I forgot to tell the program to give me the response. Then when I was getting crazy I re-checked the hole program and I find out that error.

And here is how the program works.

temperature1

 

Fun With Numbers

This program helps us to make simple calculations by giving it two integer values. To make this program I asked a friend for some help and also I checked the c++.com page.

Here I have my program, as you see it is well done.

funwithnumbers1

I just needed to compile it and all job done.

At first I had some problems, but then everything was perfect.

fwnumbers2

It works perfectly! 🙂