top of page
learn_data_science.jpg

Data Scientist Program

 

Free Online Data Science Training for Complete Beginners.
 


No prior coding knowledge required!

Writer's pictureNtandoyenkosi Matshisela

BMI Calculator

The following is a simple BMI Calculator code that determines the BMI of a user. The code requires one to input the weight (Kgs) and height in centimeters. Using an If statement, a BMI class is given.


Observed below, the user is considered to have a normal weight since the BMI is between 25 and 30 (exclusive).



1 comment

Recent Posts

See All

1 Comment


Data Insight
Data Insight
Sep 10, 2021

Add your code in code snippets instead of images.

Like
bottom of page