CIS 115

There are three seating categories at a stadium. For a softball game, Class A
# seats cost $15, Class B cost $12. and Class C seats cost $9. Design a modular
# program that asks how many tickets for each class of seats were sold, and then
# displays the amount of income generated from ticket sales.

  1. 👍 0
  2. 👎 0
  3. 👁 1,351
  1. Assistance needed.

    Please type your subject in the School Subject box. Any other words, including obscure abbreviations, are likely to delay responses from a teacher who knows that subject well.

  2. Here's a pseudocode that could help you:

    Input: number of tickets sold in each category.
    Output: total revenue generated
    Data:
    Class A seats cost $15=A,
    Class B cost $12.=B
    Class C seats cost $9.=C
    Start:
    a <- Enter # of seats sold for class A
    b <- ....
    c <- ...
    Calculate
    total<- A*a+B*b+C*c
    output total

    1. 👍 0
    2. 👎 0

Respond to this Question

First Name

Your Response

Similar Questions

  1. Math

    An auditorium has 50 rows of seats. The first row has 20 seats, the second row has 21, the third row has 22 seats, and so on, each row having one more seat than the previous row. How many seats are there all together? a. write 2

    asked by Emily on October 29, 2010
  2. mathematics

    A stadium in circular shape has area 91000 Sq.ft. How to find center of the stadium?

    asked by Anna on July 18, 2020
  3. Math (arithmetic)

    The total seating capacity of an auditorium is 1,065. The first row has 21 seats arithmetic series and each row has one seat more than the row in front of it. How many rows of seats are there in the auditorium?

    asked by Roxane on June 25, 2015
  4. arithmetic

    PLEASE I REALLY NEED HELP WITH THIS The seats at a local baseball stadium are arranged so that each row has five more seats than the row in front of it. If there are four seats in the first row, how many total seats are in the

    asked by soka on August 6, 2011
  1. physics

    A human wave. During sporting events within large, densely packed stadiums, spectators will send a wave (or pulse) around the stadium (Fig. below). As the wave reaches a group of spectators, they stand with a cheer and then sit.

    asked by chirayu on April 30, 2009
  2. math help!

    a hockey arena has a total seating capacity of 15690.the first row of seats around the rink has 262 seats. the number of seats in each subsequent row increases by 18. how many rows of seats are in the arena?

    asked by Riana on January 27, 2013
  3. Math

    A small aeroplane has 14 seats for passengers. The seats are arranged in 4 rows of 3 seats and a back row of 2 seats . 12 passengers board the aeroplane. (i) How many possible seating arrangements are there for the 12 passengers?

    asked by Raj on August 22, 2019
  4. MAth

    The front row of a stadium has 25 seats. Each of the other rows has two more seats than the row in front of it. how many seats are there altogether in the first 20 rows? i know how to do this in the "long" way but how do you do

    asked by Sarah on January 9, 2013
  1. precalculus

    The first row of seating in section A of an arena has 7 seats. There are 25 rows in section A, each row containing two more seats than the row preceeding it. How many seats are in section A? How do you use geometric sequence to

    asked by Anonymous on May 10, 2018
  2. Math

    A softball player bats twice in a game. Each at-bat results in an out, getting on base, or hitting a home run. What is the number of possible outcomes in the sample space? A) 3 B) 6 C) 9 D) 12

    asked by pyramid on December 18, 2019
  3. Maths

    A car showroom had 10y cars, 20y motorcycles and 18 vans. In a particular month, 4y cars , 3y motorcycles and 15 vans were sold. a.) Find the total number of wheels on the remaining vehicles in terms of x. b.) If y=21, how many

    asked by Alexander on November 7, 2012
  4. statistics

    A new restaurant with 123 seats is being planned. Studies show that 63% of the customers demand a smoke free area. How many seats sould be in the non-smoking area in order to be very sure (mean+3StandardDeviation) of having enough

    asked by Judy on November 13, 2011

You can view more similar questions or ask a new question.