Reference no: EM13163439
Write the following program that stores and display theater seat prices. in this program demonstrates how to pass a 3-dimensional array to a function and the data must read in from a file. In this program allows you fill the seatTable [ ] [ ] [ ] array with the apprriate prices (cost) for each seat in the theater:
a) Assume that section _1 seats are in front of the stage, and the price is expensive. say, each seat in the 1st three rows is $180.00, and each seat in the last two rows is 10% less;
b) Assume that section _2 seats are in middle of the theater, and the price of each 20% less than than the seat prices in section _1, last two rows;
c) Assume that section _3 seat are at the end of the theater, and the price of each seat is 20% less than the seat prices in section_2.
Moreover
your program must also compute
i The total amount collected per each row, and this amount right at the end of each row,
j The total amount to be callected per each section, and displays it at the end of each section,
k And finally compute compute the total amount to be collected for the whole theater and displays it at the end of the report
The body fat percentage
: The body fat percentage (BFP) of a person can be estimated by the formula BFP= 1.2xBMI+0.23xAGE -10.8xGEnder-0.54 where BMI is the body mass index, given by BMI = 703 W/H^2, in which W is the weight in pounds and H is the height in inches
|
State dicyanoethylene into symmetric sterioisomers
: Please Solve these with step by step instructions with phases. It is very hard to understand how to solve them without a photograph and an explanation of why you chose each step
|
Calculate the partial pressure of each gas
: Assuming that the total pressure of the gases is 1.52 and that their mole ratio is 94 : 4.0 : 1.5 : 0.50, calculate the partial pressure (in atmospheres) of each gas.
|
What partial pressure of will be present in the vessel
: If a 1.7 reaction vessel initially contains 730 of at 25 , what partial pressure of will be present in the vessel after 200 minutes?
|
Assume that section
: Assume that section _1 seats are in front of the stage, and the price is expensive. say, each seat in the 1st three rows is $180.00, and each seat in the last two rows is 10% less;
|
Program that asks the user to enter the number of miles
: Write a C - program that asks the user to enter the number of miles traveled and the number of gallons of gasoline consumed. It should then calculate and display the miles-per-gallon value. Confine your output to 1 decimal place.
|
Use heat of formation data to determine h
: Use heat of formation data to determine H for the combustion of hydrogen sulfide according to the following reaction: 2 H2S(g) + 3 O2(g) ? 2 SO2(g) + 2 H2O(?) ?H = ? ?Hfo for compounds:
|
Calculate deltahrxn
: Calculate DeltaHrxn for the following reaction: CH4(g) + 2Cl2 (g) --- CH2Cl2(g) + 2HCl(g) Use the following reactions and given delta H's
|
Project will be a simple, working program
: This programming project will be a simple, working program, using Python language, which utilizes a good design process and includes:Sequential, selection, and repetitive programming statements as well as,At least one function call.
|