Ask Question
25 February, 12:24

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.

+1
Answers (1)
  1. 25 February, 13:35
    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?
Find 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 you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers