Sunday
March 26, 2017

Post a New Question

Posted by on .

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

Answer This Question

First Name:
School Subject:
Answer:

Related Questions

More Related Questions

Post a New Question