Answer Attached

  

The formula for calculating body mass index (BMI) is weight* 703 / height 2. For example, if your weight 200 pounds and are 72 inches tall, then you can calculate your body mass index with this expression: (200 * 703) / (72 * 72). Create a script that asks for the visitor’s weight in pounds and his/her height in inches. The program should then calculate the body mass of the visitor. Display the weight, height, and body mass on the screen. Include text in the document.write() statements that describe each measure such as “Your weight is 200 pounds.”

Tags: No tags