Javascript help!!?

Question by lilredthetease: Javascript help!!?
This is my HW assignment. I’m not asking anyone to DO it for me I don’t even understand what the hell I am supposed to do. Maybe someone can break it down for me? LOL

Question states:
A mail order house sells five different products whose retail prices are: product 1- $ 2.98, product 2 $ 4.50, product 3- $ 9.98, product 4- $ 4.49, and product 5- $ 6.87. Write a script that reads a series of pairs of numbers as follows:

a) Product Number
b) Quantity sold for one day

Your program should use a switch structure to help determine the retail price for each product. Your program should calculate and output HTML that displays the total retail value of all products sold last week. Use a prompt dialog to obtain the product number from the user. Use a sentinel-controlled loop to determine when the program should stop looping and display the final results.

Best answer:

Answer by girish4music
JavaScript Source: Free JavaScripts, Tutorials, Example Code …The JavaScript Source is your resource for thousands of free JavaScripts for cutting and pasting into your Web … JavaScript Help · Contribute a script …
javascript.internet.com/ – 54k – 18 Sep 2006 – Cached – Similar pages

Navigation – javascript.internet.com/navigation/
Forms – javascript.internet.com/forms/
internet.com – the Internet and … – www.internet.com/
Miscellaneous – javascript.internet.com/miscellaneous/
More results from javascript.internet.com »

Know better? Leave your own answer in the comments!

Get the book now