How can I set the initial value of the variable in its declaration?
To do this you can type a sign of assigning the initial value right after specifying variable type and name. This is the way how you can initialize variables of primitive (integers, fractional numbers, Boolean numbers etc.) and complex types.