DHTML_XML2_4

<!DOCTYPE html> <html> <head> <title>Unit 2 - Q4</title> <script type="text/javascript"> var area,radius=2; document.write("Radius of the cirle, r = "+radius+" cm<br>"); document.write("Area of a circle = 3.14*r*r<br>"); document.write("Area = "+3.14*radius*radius+" cm sq."); </script> </head> </html>

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.