All pastes #373955 Raw Edit

Stuff

public text v1 · immutable
#373955 ·published 2007-02-27 03:25 UTC
rendered paste body
int WaistSize(int Ht, int Wt, int Age)
{
    double CalcdWS;
    CalcdWS = Wt / 5.7;
    if (Age < 28)
            CalcdWS += ((Age - 28) / 2) * 1.0/10.0;

    return (int) (CalcdWS + 0.5);
}