Total members 11367 |It is currently Sat Oct 25, 2014 5:41 pm Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R

All times are UTC [ DST ]



  calculates the total cost with javascript
Mon Oct 12, 2009 6:32 am 

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.
edit the title


Author:
Newbie
User avatar Posts: 1
Have thanks: 0 time
  Re: calculates the total cost with javascript
Mon Oct 12, 2009 10:59 am 
You can't just post your assignment without even trying ! , actually i don't understand what is your problem with javascript .

_________________
Please recommend / share my post if you found it helpful.


Author:
Mastermind
User avatar Posts: 2694
Have thanks: 73 time
Post new topic Reply to topic  [ 2 posts ] 

  Related Posts  to : calculates the total cost with javascript
 getting gst, pst total to diplay in my javascript form     -  
 Need help with JavaScript function calculate the total pric!     -  
 continuously calculates the number of characters existing     -  
 Get Disk total space     -  
 total ocurrence of substring in sting     -  
 calculate the total type of stocks     -  
 diskfree and disk total from cdr's     -  
 javascript help with BMI     -  
 Javascript     -  
 need help in javascript     -  

All times are UTC [ DST ]









Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team