Question: Write a JavaScript program that calculates the user's BMI (Body Mass Index). Ask the user to input their Height(in meters) and Weight (in kilograms). You

Write a JavaScript program that calculates the user's BMI (Body Mass Index). Ask the user

to input their Height(in meters) and Weight (in kilograms). You can use the following formula to

calculate the BMI: BMI = W/H^2

Print the user's height in meters

Print the user's weight in kilograms

Print the BMI

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!