Closed

Quick Java fitness Test

When getting into a fitness program, you may want to figure out your target heart rate so you don’t overexert yourself. The Karvonen heartrate formula is one method you can use to determine your rate. Create a program that prompts for your age and your resting heart rate. Use the Karvonen formula to determine the target heart rate based on a range of intensities from 55% to 95%. The formula is:

TargetHeartRate = (((220 − age) − restingHR) × intensity) + restingHR

• Don’t hard-code the percentages.

• Use a loop to increment the percentages from 55 to 95.

• Ensure that the heart rate and age are entered as numbers.

• Don’t allow the user to continue without entering valid inputs.

• Display the results in a tabular format.

• Generate a table with the results as shown in the example output below:

Sample output:

Resting Pulse: 65 Age: 22

Intensity Rate

55% 138 bpm

60% 145 bpm

65% 152 bpm

Must be written in JAVA

Skills: Anything Goes

See more: java typing test, asterisk java performance test application, java typing test sample codes, java socket test tcp port listen, java speed test, java speed test operating system, java rmi test, java daemon test, pdf extraction quick java, simple java code test scores, java rmi test multiple choice, flash speed test java speed test, java allow user loop enter amount selection, java typing test source code, java j2ee test prove kenexa, quick java junit test

About the Employer:
( 1 review ) Nairobi, Kenya

Project ID: #28378033

2 freelancers are bidding on average $25 for this job

romisablokvw

certified ETL and cloud architect with 10 year proven experience in IT industry and can help you with the assigned task. I can write this logic in java and can help you understand the flow. Let me know if we can discu More

$35 USD in 3 days
(0 Reviews)
0.0
AlexKramerich

I have got an experience in creating this kind of Java applications. And I am newbie as a freelancer and my time of delivering and amount are minimum.

$15 USD in 2 days
(0 Reviews)
0.0