Inheritance diagram for Exercise:
Public Methods | |
Exercise (string name) | |
Protected Methods | |
int | execute () |
void | getInput () |
Static Private Methods | |
double | p2k (double pounds) |
double | k2p (double kilos) |
Private Attributes | |
double | fPounds |
double | fKilos |
|
Constructor.
|
|
Executes this exercise. To be overridden in subclasses. (Hook Method)
Reimplemented from AbstractExercise. |
|
Gets the input for this exercise. To be overridden in subclasses. (Hook Method) Reimplemented from AbstractExercise. |
|
Calculates pounds from kilos.
|
|
Calculates kilos from pounds.
|
|
|
|
|