In the program, you can declare and use variables with the following data type:

bool - logical (values 0-false/1-true).

int is an integer.

double is a single number (floating point).

string is a string variable.

Example.

Declare a string type variable and write a few words into it.


string mystring;

mystring = "fragment1" + "fragment2";

mystring += "fragment3";