Thursday, 27 February 2014

Day 12

Today I learned how to use switch statments as a replacement for if/else statments. Switch basically takes a variable and tests its value against all of the other values.I tried remaking the Cola machine program while using switch statments but I didn't finish. Here is the site were I am getting all of my exercises from.

Wednesday, 26 February 2014

Day 11

Today I made a program that gives you 5 options of drinks and you choose your favourite one for most of the things I made there was instructions for most of it but I made this from scratch here is a PICTURE of it. I also finished downloading windows visual a new compiler for c++ and I like it alot more it makes things alot easier for people just learning c++

Tuesday, 25 February 2014

Day 11

Before today I was using codeblocks as my c++ compiler and then chris showed me how much better windows visual studios is so I started downloading that. I also looked for something I could do while downloading that and I think I want to do computer networking after I am done with c++

Wednesday, 19 February 2014

Day 10

Today I learned about "The Dark side of the internet" and I watched multiple videos on how to use the if/else statment in c++ Here is an example of an if statement. If I asked the program is 5 was greater than 3 It would said no so I would have to say if 5 is greater than 3 print yes or else print no.

Tuesday, 18 February 2014

Day 9

Today I made a program were you enter peoples ages and you can find the average age of all the people you entered for example you could get everyone in this rooms age enter it and get the average here is a screen shot of it Age 20+40+30 is equal to 90 and there are 3 numbers and if you divide 90 by 3 you get 30 witch is what I got from the program

Friday, 14 February 2014

Day 8

Today I learned how to use loops for example I made a program that adds 5 different numbers using loops Here is the pastebin for it

Thursday, 13 February 2014

Day 7

Today I watched some more tutorials and I learned how to use if/else statments I made a very basic program were you type in your age and it says something different for different age groups here is a link to that program just copy and paste it into a compiler and change your age here (In the code) int age = 101; .Pastebin