Tag Archives: code

TEA BREAK WITH EXCEL: FINDING A SPECIFIC TEXT IN A CELL RANGE (OR IF THIS TEXT IS INCLUDED IN THIS RANGE OR NOT?)

Tea Rating: ☕

To find a specific text in a specific range we are using the formula;

Continue reading TEA BREAK WITH EXCEL: FINDING A SPECIFIC TEXT IN A CELL RANGE (OR IF THIS TEXT IS INCLUDED IN THIS RANGE OR NOT?)

TEA BREAK WITH C++: DATA TYPES

Continue reading TEA BREAK WITH C++: DATA TYPES

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

TEA BREAK WITH C++ : Basic Comment Section for All programs

NOTE: You may download codes and extra source material for this book from https://bookofengineering.com/easyseries/

Here these lines are comment section giving information about the program, and you need to include these lines so that another programmer can understand what it is about easily. 

Continue reading TEA BREAK WITH C++ : Basic Comment Section for All programs

TEA BREAK WITH C++: Basic Comment Section for All programs

NOTE: You may download codes and extra source material for this book from https://bookofengineering.com/easyseries/

Here these lines are comment section giving information about the program, and you need to include these lines so that another programmer can understand what it is about easily. 

Continue reading TEA BREAK WITH C++: Basic Comment Section for All programs

TEA BREAK WITH C++: BASIC INPUT / OUTPUT

NOTE: You may download codes and extra source material for this book from https://bookofengineering.com/easyseries/

As we have seen in the previous section, library we are using for basic input / output operations is the iostream library. That is why we need to include that at the beginning. 

Continue reading TEA BREAK WITH C++: BASIC INPUT / OUTPUT

TEA BREAK WITH C++: MY FIRST C++ PROGRAM

NOTE: You may download codes and extra source material for this book from https://bookofengineering.com/easyseries/

  1. //my first c++ program
  2. #include <iostream>
  3. using namespace std; 
  4. int main(){
  5. cout<<“hello world!”;
  6. return 0;
  7. system(“pause”);
  8. }
  9. /* This ends 
  10. the file */
Continue reading TEA BREAK WITH C++: MY FIRST C++ PROGRAM

TEA BREAK WITH C++: Paragraph Comments (Multiple Line Comment)

NOTE: You may download codes and extra source material for this book from https://bookofengineering.com/easyseries/

Another type of comment is paragraph comment (or multiple line comment) where you start commenting with “*/” and end with “/*”

Continue reading TEA BREAK WITH C++: Paragraph Comments (Multiple Line Comment)