Electrical and Computer Engineering
16 of 24
UAH
CPE 112
Case Study Implementation (abridged)
•const float PERSON_WT = 170.0;        // Average person weighs
•                                      //   170 lbs.
•const float LBS_PER_GAL = 6.7;        // Jet-A weighs 6.7 lbs.
•                                      //   per gal.
•const float EMPTY_WEIGHT = 9887.0;    // Standard empty weight
•const float EMPTY_MOMENT = 3153953.0; // Standard empty moment
•
•float CargoMoment( int, int );
•float CrewMoment( int );
•float FuelMoment( int );
•void  GetData( int&, int&, int&, int&, int& );
•float PassengerMoment( int );
•void  PrintWarning();