Visual logic

profilearilem

You have been contracted by a local stadium to design an algorithm determining the total seating charges for any game held at the stadium. Lower-level seats cost $25 per seat, mid-level seats cost $15 per seat, and upper-level seats cost $10 per seat. The algorithm should ask the user for the number of seats being purchased in each seating level. Then, the algorithm will determine the total for each level and a grand total for the entire purchase.

Be sure to think about the program logic and design first (IPO chart and pseudocode), then code the Visual Logic command-line processing. Display all output using the currency formatting built-in Visual Logic function.

Advanced:

  • Use constants for the per seat cost for each level.
  • Calculate the sales tax for the purchase. (0.06)
    • 11 years ago
    • 8
    Answer(0)
    Bids(0)