« Fun with numbers »

The code we have to write for this task needs the following requirements:

  • 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.

I didn’t have any problems programming this, because I have programmed before in c++

This is the link to my code in Github → https://github.com/mfcanov/FunWithNumbers.git

#WSQ02

Hello World is the first typical program, it helps to ilustrate the beginning programmers to know how to start coding in most programming languages.

This is my Hello World code:

#include <iostream>

using namespace std;

int main(){
cout<<“Hello World”<<endl;

}

To compile and run this program in the Terminal in my Mac I had to look up for a youtube video that could help me solve my doubts, so I watched this video: https://www.youtube.com/watch?v=qQ40Wd6H3EQ called

Mac C++ Tutorial: Compiling in Terminal

and the guy who uploaded it is Rainger Rossway.

This is the program ran in the terminal

Captura de pantalla 2016-01-29 a las 8.16.58 p.m.