Ask Question
27 April, 17:17

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.

+3
Answers (1)
  1. 27 April, 17:23
    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 the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers