This repo contains exercise of how to use javascript IF, ELSE IF, and ELSE.
This application will measure the BMI, and print:
- The BMI value
- 'Berat badan Anda kurang', if the BMI value is under 18.5
- 'Berat badan Anda ideal', if the BMI value is in the range of 18.5 - 24.9
- 'Berat badan Anda berlebih', if the BMI value is in the range of 25.0 - 29.9
- 'Berat badan Anda sangat berlebih', if the BMI value is in the range 30.0 - 39.9
- 'Anda Obesitas', if the BMI value is higher than 39.9