Mastery-1

--Originally published at Programing 101

the difficult part: the only thing that i find hard was the remainder because o didn’t know what sing i had to use but after checking some websites i track the sing “%” for the remainder

the easy part: all the formulas were easy because i only need logic to create them

what i learn:

  • “%” is the sign of remainder
  • you need to declare all the variables or it will make a mess

>>>c++ page command<<<

screen-shot-2017-02-08-at-23-25-01


Quiz 4

--Originally published at Programing 101

The difficult part : 

know the difference between all the calculations.

first i tried to do a simple “if” to check if the knowledge that i had about the “if” was ok but at fist this didn’t work. a friend of mine show me how to do it.

 the easy part : ones i knew how to do it i tried to do it by myself and i did good

what i learn:

  •  You can use “if” to compare more than two variables.
  • “pow” is the function to elevate any variable to any potency
  • “<= o >=” is the sing to refer if is less-equal or high-equal respectively

>>>c++ page command<<<  >>> Victor Barrancas (good friend that teach me all this)<<<

 

12345.png


Quiz3

--Originally published at Programing 101

The difficult part of this quiz was know the difference between a variable and input:

first I was really confuse because when i declare my variable of square-root I didn’t know what was the wrong part, then I realized that i dint declared it in the right place, I had put it inside the int main so the terminal didn’t know what variable I was talking about.

screen-shot-2017-01-26-at-14-56-33

terminal

The easy part:

finally when I got the point of every command I copy paste. after that I was experimenting.

this side really help me with all the commands that i didn’t know

>>>>c++ page command<<<<

screen-shot-2017-01-26-at-14-38-02