Tag Archives: endl

TEA BREAK WITH C++: VARIABLES

Since we learned basic input function at programming with C++, we need to talk a little more about the variables. 

Variables are simply naming some data location in your pc. With variables you can store a value. 

Continue reading TEA BREAK WITH C++: VARIABLES

TEA BREAK WITH C++: Basic Input & endl

On line 9 in the previous example we give 

    int firstNumber, secondNumber, sum;

We define integer variables. These are first number with the definition firstNumber, and the second number defined as secondNumber. And the sum. These we defined as integer by writing “int” at the beginning.  

Continue reading TEA BREAK WITH C++: Basic Input & endl