Wednesday, February 21, 2024

Nazli Tech School´s Weekly Programming Challenge(New)

**************************************************************************

πŸ‘‰Introduction:- Nazli Tech School has started launching weekly unique online programming challenges for students interested in learning how to program to complete. Prizes are awarded to students who successfully complete a minimum of three programming challenges launched online.

πŸ‘‰Instruction:- This week´s programming challenge will be to design and develop an interactive and user-friendly BMI(body mass index) calculator using the programming language and scenario provided here.

πŸ‘‰Subjects In Focus:- Python + Biology

πŸ‘‰Method of Completion:- You will need to develop the program on the online replit.com programming compiler website and share it with the username provided here.

πŸ‘‰Method of Submission:- You will need to share your completed programming challenge on replit.com  using the username "AlisiaHabibi3". username Additionally, you also need to send an email to: alisia_habibi92@nazlitechschool.com when you have completed the development of this programming challenge.

πŸ‘‰Submission Deadline:- 29th February 2024(Friday)

πŸ‘‰Awards:- To be posted at a later date

1. A graded bespoke well-detailed programming project report sent to you.

2. Free coupon to access one of our programming courses launched on Udemy

3. Amazon gift card

4. A Nazli Tech School Certificate Of Completion 

Programming Challenge Scenario:- Read the scenario below carefully before starting

Write a program that computes the body mass index (BMI) of an individual. Your program should begin by reading the height(inches) and weight(pounds) of the user. Then it should formula below to compute the BMI before displaying the result to the user. Your program should also display the BMI status(underweight, normal, overweight, obese). You are expected to include extra design and functional features of your intuition when developing this programmed system.

BMI = weight/(height × height) × 703

Note:-

      *(asterisks): Is used to multiply numbers in Python

      /(backslash):- Is used to divide numbers in Python

      int:- Is the data type to accept Integers(whole numbers) in Python

      float:- Is the data type to accept decimal numbers in Python.

      and:- Is used to join two if conditions together. 

    For example:-

Age = int(input(“Enter your age”))

if Age > 1 and Age <= 3:

   print(“You are a toddler”)

elif Age > 3 and Age <= 12:

  print(“You are a child”)

elif Age > 13 and Age <= 19:

   print(“You are teen”)

Use the scale below to determine the BMI status of users:-

Note:- You will need to create the if conditional statements to set the conditions BMI below. Remember, BMI is the calculated value from the formula above.

BMI < 18.5 Underweight

BMI >= 18.5 < 25.0 Normal

BMI >= 25.0 < 30.0 Overweight

BMI >= 30.0 Obese

"""