code to explanationFri, 30 Jun 2023

<script> var a = 5; var b = 6; var c = a + b; document.write(c); </script>

The above statement adds 5 and 6 and assigns the value 11 to the variable c.

Want to kickstart your project?Use the new AI Studio to create your code