Printing out the results of the calculations to the console.