Question: Write a statement that assigns finalResult with the sum of number1 and number2. Ex: If number1 is 6 and number2 is 2, finalResult is 8.
Write a statement that assigns finalResult with the sum of number1 and number2. Ex: If number1 is 6 and number2 is 2, finalResult is 8.
var number1 = 6; // Code tested with values: 6 and 4 var number2 = 2; // Code tested with values: 2 and -2
var finalResult = 0;
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
