|
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
• |
Problem:
Write a program that determines the
|
|
|
|
weight
and center of gravity of a new plane, based
|
|
|
|
on
the number of crew members and passengers as
|
|
|
well
as the weight of the baggage, closet contents,
|
|
|
|
and
fuel.
|
|
|
• |
Input:
Number of crew members, number of
|
|
|
|
passengers,
weight of closet contents, baggage
|
|
|
|
weight,
fuel in gallons.
|
|
|
• |
Output:
Total weight, center of gravity.
|
|
|
|