Saint Louis University |
Computer Science P125
|
Dept. of Math & Computer Science |
Please see the general programming webpage for details about the programming environment for this course, guidelines for programming style, and details on electronic submission of assignments.
For this assignment, you must work individually in regard to the design and implementation of your project.
Please make sure you adhere to the policies on academic integrity in this regard.
We all like to exercise because it's good for us. Experts tell us that to get the maximum aerobic effect from exercise we should try to keep our pulse rate in a training zone. The training zone is computed as follows. Subtract your age from 220; 72% of that value is the low end of the range and 87% of that value is the high end of the range.
You are to write a program Training.cpp which prompts the user for his/her age, and outputs the appropriate training range.
Training.cpp
This is the source code file.
Readme File
For every assignment, you will be asked to
submit such a text file. In general, this provides a way for
you to add any further comments you wish to make to the grader.
For many assignments, there will also be additional explicit
requirements for the contents of this file.
For this assignment, please let us know approximately how long you spent on the assignment.
The assignment is worth 10 points.