• 26 DEC 20
    • 0

    BMI android studio, homework help

    7-Repeat Assignment 6 but this time use Fragments instead of multiple Activities

    I have finshed assignment 6 already , see the instructions for 6 down below

    ——————————-

    assigment 6

    Passing Data between Activities

    BMI calculator:

    You will ask for 3 inputs:

    1. Take Height in Ft
    2. Take Height in inches
    3. Take Weight in Pounds

    When the User clicks calculate. Take them to a second Activity that displays their BMI and whether they are over or underweight.

    You will need to pass data to the second Activity. You can do this 2 ways.

    1. Pass the 3 inputs to the second activity and calculate BMI there
    2. Calculate BMI in the first activity and pass the BMI number to the second Activity

    You can find the BMI equation here. Use pounds and inches. https://www.cdc.gov/healthyweight/assessing/bmi/adult_bmi/ (Links to an external site.)

    Once you have the BMI also display it’s texual meaning according to the following

    BMI Weight Status
    Below 18.5 Underweight
    18.5 – 24.9 Normal or Healthy Weight
    25.0 – 29.9 Overweight
    30.0 and Above Obese

    "Get 15% discount on your first 3 orders with us"
    Use the following coupon
    FIRST15

    Order Now
    Leave a reply →

Photostream

"Get 15% discount on your first 3 orders with us"
Use the following coupon
FIRST15

Order Now

Hi there! Click one of our representatives below and we will get back to you as soon as possible.

Chat with us on WhatsApp