Visual logic

0 comments

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 per seat, mid-level seats cost per seat, and upper-level seats cost 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)

About the Author

Follow me


{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}