.Ruski
03-11-2009, 10:38 PM
its the only part of the assignment i havent done, and it was due last tuesday ><
i know people will say we wont do ur homework for u etc. but please jst this once. heres what i have to do :
Metric Conversion. create a blank web page that has a pop-up prompt for “Feet” and another for “and Inches” which then produces a pop-up message “(value) metres or (value) centimetres”, where each value is the metric conversion of the total of feet and inches. (Note: use 12 inches per foot, 2.54 centimetres per inch, and 100 centimetres per metre. If the user inputs 5 feet and 6 inches the output should be “1.6764 metres or 167.64 centimetres”.)
the link to the assignment is here
http://borderline09.nciwiki.com.au/file/view/ICAB4225B_ICAB4137B_1of2_200901_KC_V1.docx
the most i've managed to do is make the popup box using:
var feet = prompt("Feet?");
var inches = prompt("inches?");
although i need it to display the feet and inches as meters and centimetres on the page once the numbers have been put in...
i'll greatly appreciate anyones help.
thanks.
i know people will say we wont do ur homework for u etc. but please jst this once. heres what i have to do :
Metric Conversion. create a blank web page that has a pop-up prompt for “Feet” and another for “and Inches” which then produces a pop-up message “(value) metres or (value) centimetres”, where each value is the metric conversion of the total of feet and inches. (Note: use 12 inches per foot, 2.54 centimetres per inch, and 100 centimetres per metre. If the user inputs 5 feet and 6 inches the output should be “1.6764 metres or 167.64 centimetres”.)
the link to the assignment is here
http://borderline09.nciwiki.com.au/file/view/ICAB4225B_ICAB4137B_1of2_200901_KC_V1.docx
the most i've managed to do is make the popup box using:
var feet = prompt("Feet?");
var inches = prompt("inches?");
although i need it to display the feet and inches as meters and centimetres on the page once the numbers have been put in...
i'll greatly appreciate anyones help.
thanks.