← Back to JavaScript exercises

2. Arithmetic Operations

Result appears here
const a=12,b=4; output.innerHTML=`Sum ${a+b}; Difference ${a-b}; Product ${a*b}; Quotient ${a/b}`;