Art Show | Course Home | Homework | Labs | Programming | Schedule & Lecture Notes | Submit

Saint Louis University

Computer Science P125
Introduction to Computer Science

Michael Goldwasser

Spring 2005

Dept. of Math & Computer Science

Programming Assignment 01

Training Zone

Due: Monday, 31 January 2005, 8pm

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.

Collaboration Policy

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.


Contents:


Overview

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.


Files to Submit


Grading Standards

The assignment is worth 10 points.


Michael Goldwasser
CS-P125, Spring 2005
Last modified: Saturday, 22 January 2005
Art Show | Course Home | Homework | Labs | Programming | Schedule & Lecture Notes | Submit