DrSchool Learn coding, fast.
EN AR BN CS DE EL Search

Numbers — Example 25

Quick explanation + ready code for: Numbers.

R Numbers Back to examples
Back to language
Syntax: Numbers in R. ID: #25

Code

const a=15, b=16;
console.log("sum=", a+b, "mul=", a*b);

Notes

You can copy this snippet and adapt it. For advanced, add real-world inputs, edge cases, and tests.