Computer Science, asked by dhfjvjuvv, 1 year ago

how to add any two numbers in JavaScript?​

Answers

Answered by Anonymous
1

Answer:

In programming, just like in algebra, we use variables (like price1) to hold values.

In programming, just like in algebra, we use variables in expressions (total = num1 + num2).

From the example above, you can calculate the total to be 11.

Answered by fivkvkgob
0

Answer:

(total = price1 + price2). is the correct answer.

Similar questions