CIS 115

posted by .

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.

  • Programming -

    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.

  • CIS 115 -

    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

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. economics

    Consider the Slappers, a hockey team that plays in an arena with 12,000 seats. The only cost associated with staging a hockey game is a fixed cost of $6,000. The team incurs this cost regardless of how many people attend a game. The …
  2. logic and design

    . 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. There are three seating categories at a stadium. For a softball game, Class …
  3. Object Oriented Programming

    Write an application class that generates 6 objects randomly from either a Car, or a Truck, or a Bicycle class. Your generated objects will be stored in a RentedVehicle array. Write a static method in your test class that takes an …
  4. Trig

    The first 40 rows of seating in a certain section of a stadium have 25 seats, 28 seats, 31 seats, and so on. The 41st through the 75th rows each contain 125 seats. Find the total number of seats in this stadium section.
  5. C# Programming

    There are three seating categories at an athletic stadium. For a baseball game, Class A seats cost $15 dollars each, Class B seats cost $12 each, and Class C seats cost $9 each. Create an application that allows the user to enter the …
  6. math/algebra

    Mr. Jenkins is going to buy museum tickets for a class trip. The museum director quotes him the following prices: • 20 tickets cost a total of $250. • 30 tickets cost a total of $375. • 50 tickets cost a total of $625. a. Based …
  7. math

    Mr. Jenkins is going to buy museum tickets for a class trip. The museum director quotes him the following prices: • 20 tickets cost a total of $250. • 30 tickets cost a total of $375. • 50 tickets cost a total of $625. a. Based …
  8. Math

    Mr. Jenkins is going to buy museum tickets for a class trip. The museum director quotes him the following prices: • 20 tickets cost a total of $250. • 30 tickets cost a total of $375. • 50 tickets cost a total of $625. a. Based …
  9. math

    The Downtown Theater group sold 650 tickets to its latest production. They sold only regular seats and box seats. Regular seats cost $12 each and box seats cost $18 each. Altogether, the theater collected $8,550 in ticket sales. How …
  10. Algebra

    An auditorium seats 1500 people. Floor seats cost $15 and balcony seats cost $10. If the place is sold out and they make $2100 how many seats are on the floor and in the balcony?

More Similar Questions