Addition Operator JavaScript
Addition Operator
On this page
Addition Operator
Program to use bigger number control statements in c language
let a = 10
let b = 20
let total;
total = a + b;
console.log("total number is = ", total);
Output
total number is = 30
Steps Description
- Declare three variables a, b and total
- Initialize both variables with value of 10 and 20 respectively a = 10, b = 20
- Assign total variable with Assignment Operators (=) with the sum/Addition value of variables a and b
- a, b variables की value को (+) Addition Operators ki सहयता से a+b numbers को adds/sum जोड़ा गया हैं
- console.log inbuilt function की मदद्द से total variable की value को display किया गया हैं