Printing to console the result of the calculation.