HTML and JAVASCRIPT

neMMMM

Well-Known Member
Hey guys, hows it going?

I am currently taking a computer science class, and am very stumped on some homework. This stuff is interesting and all, but it takes me a while to figure it out! The way i learn it the best is by just taking peoples codes and messing with them, to see what it does and such.

I have a problem thats due tomorrow that i cannot program, and its VERY simple if you are experienced. If anyone can quickly do it up for me, that would be greatly appreciated. I didnt really know where to post this, but if anyone can help, please, i beg!

What i have to do is build an application (webpage) to calculate the avg neck size, hat size, and shoe size for a given number of customers, given each customers weight and waistline. Two averages should be shown, 1 for males 1 for females. Each set of inputs should be shown using text area box. Use loops and text boxes for inputs. the calculations are as follows:

Male
Neck Size=3* (Weight/Waistline)
Hat Size =(3* Weight)/(2.125*Waistline)
Shoe Size=50* (Weight/Waistline)

Female
Neck Size=2* (Weight/Waistline)
Hat Size =(2* Weight)/(1.125*Waistline)
Shoe Size=30* (Weight/Waistline)


Any help would be appreciated, and if i can do something back for you, lemme kno!
 
I'm not going to give you the answer, but I'll certainly help you out. As quickly as you can respond, I'll respond quicker, how's that. ;-)

First off, do you know what the HTML for a text area box looks like? how to do a loop? If not, do you know where you can look up that information?

You say you're in a class, do you have a book or a reference of some sort that should give you the building blocks for this sort of stuff?
 
Back
Top