Tag Archives: #TC101

Fun with numbers WSQ03

Hello everyone!! This WSQ was simple, all about variables, the task is to ask the user for two integer numbers and calculate the following instructions:

  • The difference of the two numbers.
  • The product of the two numbers.
  • The integer based division of the two numbers (so no decimal point). First divided by second.
  • The remainder of integer division of the two numbers.

Captura de pantalla 2016-02-09 a las 1.46.10 p.m.

If you search in youtube or google, you can find various examples about this, most of them are in english, but are very helpful, I will leave some ones here.

This one is in English http://www.lynda.com/C-tutorials/Defining-variables/182674/366529-4.html.

As always, the link for my code in GitHub

 

Get Coding WSQ01

Well I already got all the stuff I should have for my self learning and the course, so here are some screen shots to probe it. I use Mac and my text editor of preference is Atom, I haven’t try a better one, its very intuitive with the colors, and very easy to understand, so for beginners I think is perfect.

Captura de pantalla 2016-01-22 a las 9.57.13 p.m.

Probably you need to download Xcode from the App Store in your mac or the official web from Apple (this is the link for the Apple website https://developer.apple.com/xcode/) but it takes a ton of space in your hard rive so another solution is this creepy stuff Homebrew, I have no idea how it works because I downloaded Xcode, both are free.

And Finally to compile the code you will use the terminal in your mac, just search in finder for the terminal, obviously all this things are gonna change with windows users (only Atom will work too because is multiplataform), so for windows you should checkout my friend blog; Valeria’s blog probably she’s going to explain the windows  process in the near feature. Captura de pantalla 2016-01-22 a las 10.13.17 p.m..png