Mastery 9

--Originally published at Programing 101

The difficult part : i didn’t understand how my program would read any type of document but then when i went to ken (my teacher) explain that my program was wrong because i did it all outside the main program

 

 the easy part : nothing

what i learn:

  • how to count line and chars
  • how to make everything inside the main at least if the program needs to be
  • everything is suppose to be easy

Screen Shot 2017-04-03 at 05.20.44

Screen Shot 2017-04-03 at 05.32.20

Screen Shot 2017-04-03 at 05.20.31

>>c++ page command<<<

>>Ken Bauwer <<


Programing 101 2017-04-03 05:19:16

--Originally published at Programing 101

The difficult part : i hadn’t the minimum idea how hard this would be, it look easy but it was tedious because i needed to put 10 different numbers in one command but it hit me hard when i count out i could do it differently but i didn’t so i made this.

 the easy part : all the equation were easy

what i learn: …

771

>>>c++ page command<<<


Mastery 6

--Originally published at Programing 101

The difficult part : i forgot everything about factorial numbers so a found a video in youtube explaining what was that and then check it in the cplusplus page about factorial, i found it and i did my own, obviously my firs try didn’t work but it was because i didn’t declare my variables

 the easy part : checking the programing of my friends and ones in the internet

what i learn:

  • how to do a factorial again
  • how to put that factorial to work in my program

661

>>c++ page command<<<

>>Factorial numbers<<


Mastery-3

--Originally published at Programing 101

the difficult part: the hard part was know the “while” and the “if” because i didn’t know the logic of them, also i dint know what was the “rand” started for

the easy part: once i knew what do i had to do i start programing all over and over again because in the terminal said that i had wrong something

what i learned

  • “Rand” is the formula to give a number between any variable you give
  • “srand(time(NULL))” is the formula to make rand give any number overtime you used it
  • “while” is the formula to repeat an action inside the “int main”
  • “puts” is a variable to “cout”

>>>c++ page command<<<

 

 

3screen-shot-2017-02-09-at-07-55-00


MASTERY-2

--Originally published at Programing 101

the difficult part: there was not really a hard part the only thing that i didn’t know was the conversion between Farenheid and Celsius

the easy part: all the programing

what i learned

  • i learn that you need to put your formula before any “court or cin”

>>>c++ page command<<<

 

2


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