Ask Question
20 January, 22:43

There are three seating categories at a stadium. for a softball game, class a seats cost $15, class b seats cost $12, and class c seats cost $9. design a modular pro - gram that asks how many tickets for each class of seats were sold, and then dis - plays the amount of income generated from ticket sales.

+4
Answers (1)
  1. 21 January, 01:20
    0
    I guess this is how it works,

    Module main ();

    Declare Integer ClassA = 15

    Declare Integer ClassB = 12

    Declare Integer ClassC = 9

    Print ("Number of Class A tickets sold = ");

    ClassAamount = getLine ();

    Print ("Number of Class B tickets sold = ");

    ClassBamount = getLine ();

    Print ("Number of Class C tickets sold = ");

    ClassCamount = getLine ();

    Display ("Total amount for Class A tickets is $" & ClassAamount);

    Display ("Total amount for Class b tickets is $" & ClassBamount);

    Display ("Total amount for Class C tickets is $" & ClassCamount);

    End Module
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “There are three seating categories at a stadium. for a softball game, class a seats cost $15, class b seats cost $12, and class c seats ...” in 📙 Business if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers