<html><body><script type="text/javascript"> width=3; llength=5 function pr(x){document.write(x,"<br>")} pr("Engr 190 Assignment #0 by My Name") pr("<big><center>Hello world!</center></big>") pr("<p>The length is: "+llength) pr("The width is: "+width) area=llength*width pr("<b>The area is: "+area+"</b></p>") </script></body></html> |
and that will generate this output if you open it in a browser: