UVA CS 101 - A MeDisplay compilation and run (3 pages)

Previewing page 1 of 3 page document View the full content.
View Full Document

A MeDisplay compilation and run



Previewing page 1 of actual document.

View the full content.
View Full Document
View Full Document

A MeDisplay compilation and run

59 views


Pages:
3
School:
University Of Virginia
Course:
Cs 101 - Introduction to Computer Science
Introduction to Computer Science Documents

Unformatted text preview:

102 Java basics Figure 2 7 A MeDisplay compilation and run 2 12 PROGRAMMING PROJECT TRAINING ZONE There are two kinds of exercise aerobic and anaerobic The objective of this case exercise Normally sustained activities such as bicystudy is to practice cling running or swimming are aerobic exercises interactive programming in While activities requiring bursts of actions such as the context of problem weight lifting and tennis are anaerobic exercises Both solving types of exercise have their advantages For example anaerobic exercise can stimulate muscle growth and aerobic exercise can raise your metabolism by stimulating the production of fat burning enzymes Programming project training zone 103 For a sustained activity to be an aerobic exercise there needs to be an elevation in the heart rate However the elevation cannot be extreme If the elevation is extreme then muscles are oxygen deprived and they burn sugars rather than fat Research indicates that there is a heart beat rate training zone that should be kept in order to get the maximum aerobic effect from an exercise The actual training zone for a person is based on many factors such as the individual s normal heart rate fitness health weight etc However there are formulas indicating reasonable training zones for the majority of fit people with normal heart rates The formula used in this section comes from HealthCentral com The formula work as follows subtract the age of interest from 220 65 of that value is the low end of the training zone range and 80 of that value is the high end of the training zone range The goal of this case study is to develop a program that computes a training zone according to the following problem statement Provide an interactive training zone calculator that prompts a user for her or his age The calculator program then computes and displays the training zone for that age The low end of the training zone is 65 of the difference between 220 and the specified age The high end of the



View Full Document

Access the best Study Guides, Lecture Notes and Practice Exams

Loading Unlocking...
Login

Join to view A MeDisplay compilation and run and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view A MeDisplay compilation and run and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?