Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

CIS355A Design and code a class called HealthProfile in JAVA to store information about clients and their fitness data. The attributes (name, age,...

getMaxHR

Calculates and returns maximum heart rate

Create a SEPARATE TEST CLASS, Lab1Main, to prompt for user input and display output using the HealthProfile class. Process multiple inputs using a loop. You can assume all user input is valid.

 SAMPLE OUTPUT

Enter name or X to quit: John Smith

Your age: 35

Your weight: 200

Your height - feet: 6

Your height - inches: 0

Health Profile for John Smith

BMI: 27.1

BMI Category: overweight

Max heart rate: 185

Enter name or X to quit: Ann Jones

Your age: 50

Your weight: 120

Your height - feet: 5

Your height - inches: 2

Health Profile for Ann Jones

BMI: 21.9

BMI Category: normal

Max heart rate: 170

Enter name or X to quit: X

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question