how to add any two numbers in JavaScript?
Answers
Answered by
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
0
Answer:
(total = price1 + price2). is the correct answer.
Similar questions
English,
6 months ago
English,
6 months ago
Physics,
1 year ago
Math,
1 year ago
Business Studies,
1 year ago