Reference no: EM131320982
A theater-seating chart is implemented as a two-dimensional array of ticket prices, like this:
ROW 6: 10 10 10 10 10 10 10 10 10 10
ROW 5: 10 10 10 20 20 20 20 10 10 10
ROW 4: 20 20 20 20 20 20 20 20 20 20
ROW 3: 20 20 30 30 30 30 30 30 20 20
ROW 2: 30 30 30 40 40 40 40 30 30 20
ROW 1: 40 40 50 50 50 50 50 40 40 40
Basic Implementation Write a program to:
1. Define a 6 * 10 two-dimensional integer array.
2. Fill the array with the predefined prices as shown above.
3. Prompt user to pick either a specific seat or a price.
4. When a user picks to choose by seat, ask for the preferred rows and seat number (eg. row:1, seat :1), make sure it is available and give a feedback on the price and mark the seat as "SOLD"
5. When a user specifies a price, find any seat with that price and give feedback on the seat row and number and mark the seat as "SOLD"
6. Mark sold seats by changing the price to 0.
7. Repeat the process until the user exits the program.
8. Write the pseudo code for the main program logic.
Develop an action plan for creating your personal brand
: Describe what you want your personal brand to be. In the next step, you develop an action plan for creating or enhancing your personal brand. Provide at least one clear example of an experience in this course that has helped, or may help, you move to..
|
What line is described by a regression equation
: Write the general form of a regression equation that has a single predictor variable. Identify the criterion variable, the predictor variable, the regression constant, and the regression coefficient.
|
Write a java class which allows to vote by party affiliation
: Write a Java class (VotingMachine.java) which allows one to vote by party affiliation and will also allow us to query the number of votes for each party and who won the election.
|
What is the after-tax holding-period return on the bond
: A newly issued bond pays its coupons once annually. Its coupon rate is 5%, its maturity is 20 years, and its yield to maturity is 8%, and its face value is $1,000. Find the holding-period return for a 1-year investment period if the bond is selling a..
|
Write the pseudo code for the main program logic
: When a user specifies a price, find any seat with that price and give feedback on the seat row and number and mark the seat as "SOLD". Repeat the process until the user exits the program. Write the pseudo code for the main program logic.
|
Which is worse--confound variance or error variance why
: What are order effects, and how does counterbalancing help us deal with them?
|
Strategic decision partnering with the brotherhood
: Did vineyard vines make a good strategic decision partnering with the brotherhood of the traveling plants? How should vineyard vines proceed with its social media strategy?Was vineyard the right partnership for the brotherhood?
|
Proceeds from these new shares and operating improvement
: Sosa Bus Company had earnings after taxes of $800,000 in the year 2011 with 200,000 shares of stock outstanding. On Jan 1 2010 the firm issued 50,000 new shares. Because of the proceeds from these new shares and other operating improvements, earnings..
|
Identify the variables of the marketing mix
: Objectives - Identify the variables of the marketing mix and gain skill in combining them. Within the Discussion Board area, write 750-1,000 words that respond to the following questions with your thoughts, ideas, and comments
|