posted by John 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.
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.
Here's a pseudocode that could help you:
Input: number of tickets sold in each category.
Output: total revenue generated
Class A seats cost $15=A,
Class B cost $12.=B
Class C seats cost $9.=C
a <- Enter # of seats sold for class A
b <- ....
c <- ...