Generation

generate functionSat, 23 Mar 2024

Assign two values for two created variables, add these values, and show the result on the screen.

ript function add(a, b) { var c = a + b; document.write(c); } function subtract(a, b) { var c = a - b; document.write(c); } function multiply(a, b) { var c = a * b; document.write(c); } function

Javascript
Generate More

Questions about programming?Chat with your personal AI assistant