Writing Calculation: fixed error in console.log