Click to follow our Afritutor YouTube Channel, subscribe and click notifications and get updates on new learning videos
<=Back
The body mass index (BMI) of a person is computed based on the body weight in kilograms and the body height in meters using the formula
Weight/height^2
Write a visual basic program that allows the user to enter the weight and the height in text boxes. Using a function, the program should compute the BMI. The results should be displayed on a label formatted to 2 decimal places. Attach the code to a command button. (6 marks)
 Viewed: 124 times For Better experience and learning,for video answers, after video ends playing, click next question in the questions list!!!
Share in: