Post subject: calculates the total cost with javascript
Posted: Mon Oct 12, 2009 6:32 am
Joined: Mon Oct 12, 2009 6:20 am Posts: 1 Has thanked: 0 time Have thanks: 0 time
I am struggling trying to figure this out. I can't seem to comprehend it quite yet. Can anyone help me put this together? thanks in advance!
You are hired by a small grocery store. Your assignment is to create a page that asks the user for 3 pieces of information: item name, item price, and # of products. It displays to the user:
* a page heading * an image * a table with the following information in it:
* product name * product price * # of items * total cost of the purchase
Program operation The program asks the user for 3 pieces of information using prompts: product name, product price, and # of items purchased.
The program then calculates the total cost of the purchase. It then displays all the information it has in a web page as shown below. For this display, the user entered loaf of bread, 3, and 2.99 into 3 prompts.
Last edited by msi_333 on Mon Oct 12, 2009 10:57 am, edited 1 time in total.
Users browsing this forum: No registered users and 1 guest
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum