Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Programming 2/ Penqaturcaraan 2 You are required to develop a program based on the following specification:- Anda dikehendaki menulis satu aturcara berdasarkan spesifikasi berikut- The
Programming 2/ Penqaturcaraan 2 You are required to develop a program based on the following specification:- Anda dikehendaki menulis satu aturcara berdasarkan spesifikasi berikut- The output is shown in the figure 1 below. In this example, your height is 1.80 meter, your weight is 75kg, and your BMI is about 23.14815. The reading suggests that you are healthy. Based on the information, write a VB coding for the calculate button. You can use the formula of BMI= (weight) / (height ^ 2 ). Display the BMI status message box of "Underweight", "Healthy" or "Not Healthy" based on the Table 1 below. Use IF statement to display the BMI status message. Output yang di dalam rajah 1 adalah seperti di bawah. Di dalam contoh ini, tinggi anda adalah 1.80 meter, berat anda adalah 75kg, dan BMI anda adalah 23.14815. Bacaan mencadangkan bahawa anda adalah sihat. Berdasarkan maklumat, tuliskan kod VB untuk butang pengiraan. Anda boleh menggunakan formula BMI = (berat) / (height ^ 2). Pamerkan kekotak mesej status BMI "Kurang Berat Badan", "Sihat' atau "Tidak Sihat" berdasarkan Jadual 1 di bawah. Gunakan penyataan IF untuk mempamerkan BMII mesej status. Table 1: BMI Reading and Status Message / Jadual 1: Bacaan BMI dan Mesej Status Figure 1: BMI Calculator Form / Rajah 1: Borang Kalkulator BMI
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started