Develop a program that performs an energy rate balance on a gas turbine engine.
Input the appropriate gas properties (in the proper units), the turbine's heat loss or gain rate, and the input mass flow rate, and the inlet and exit temperatures.
Output to the screen the turbine's output power.
Assume the gas behaves as a constant specific heat ideal gas, and neglect all kinetic and potential energy terms. Allow the choice of working in either Engineering English or SI units.