{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

wp2 - < wp2.html < This page will display a...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
<html> <!-- wp2.html Kyle Haire --> <!-- This page will display a customers bill --> <!-- ===================================================================== --> <head> <title>Customer Bill</title> </head> <body> <div style="text-align:center"> <h2>Customer Bill</h2> </br> </br> <script type="text/javascript"> HDTV = prompt("Please Enter the amount of High Definition TV's", ""); HDTV = parseFloat(HDTV); IPOD = prompt("Please Enter the amount of Ipod's", ""); IPOD = parseFloat(IPOD); CD = prompt("Please Enter the amount of CD players", ""); CD = parseFloat(CD); DVD = prompt("Please Enter the amount of DVD players", ""); DVD = parseFloat(DVD); UR = prompt("Please Enter the amount of Universal Remotes", ""); UR = parseFloat(UR); HDTVTP = (HDTV * 1200);
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
HDTVTP = parseFloat(HDTVTP); IPODTP = (IPOD * 200); IPODTP = parseFloat(IPODTP); CDTP = (CD * 150); CDTP = parseFloat(CDTP); DVDTP = (DVD * 250); DVDTP = parseFloat(DVDTP); URTP = (UR * 50); URTP = parseFloat(URTP); STP = (HDTVTP + IPODTP + CDTP + DVDTP + URTP); TAX = (.1 * STP); TP = (STP + TAX); document.write("<p><table border='2'><tr><td>QTY</td><td>Description</td></p>"); document.write("<p><td>Unit Price</td><td>Total Price</td></tr></p>");
Background image of page 2
Background image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}