Added array containing the three previous variables, and cast all variables as numbers. Comments added, and console.log closed above, opened below.
Added a call from array for the three variables as numbers, and assign to total variable. Comments added, and console.log closed above opened below.