Added console.log() to display the calculation result